zhgzhg / LoRaPacketForwarder

LoRa single channel packet forwarder based on the Semtech UDP protocol v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install LoraPacketForwarder

batsuurib opened this issue · comments

Hello,

How to install LoraPacketForarder? How make linux service.

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!

thank you very much