zhgzhg / LoRaPacketForwarder

LoRa single channel packet forwarder based on the Semtech UDP protocol v2
27 stars 12 forks source link

How to install LoraPacketForwarder #13

Closed batsuurib closed 9 months ago

batsuurib commented 9 months ago

Hello,

How to install LoraPacketForarder? How make linux service.

zhgzhg commented 9 months ago

Hi @batsuurib , I've added a sample service file - LoRaPktFwrd.service

Before installing it make sure you have a working config.json file in the directory of the project.

To install the service you can execute:

make
sudo make install

To allow the service to run automatically after the system boots: sudo systemctl enable LoRaPktFwrd.service

To manually start / stop / restart the service:

sudo service LoRaPktFwrd start sudo service LoRaPktFwrd restart sudo service LoRaPktFwrd stop

Please let me know if the above works for you. Thanks!

batsuurib commented 9 months ago

thank you very much