MMDVM_CM/YSF2DMR/service/README.md
2018-05-28 11:02:35 -04:00

856 B

Install Systemd files for YSF2DMR

If you are using Pi-Star, this is not necessary.

Copy YSF2DMR binary to /usr/local/bin:

sudo cp YSF2DMR /usr/local/bin

Copy YSF2DMR.ini config file to /etc:

sudo cp YSF2DMR.ini /etc

Edit YSF2DMR.ini according with your preferences. Set Daemon=0:

sudo nano /etc/YSF2DMR.ini

Copy the file ysf2dmr.service to /usr/local/sbin:

cd service
sudo cp ysf2dmr.service /usr/local/sbin
sudo chmod 500 /usr/local/sbin/ysf2dmr.service

Edit ysf2dmr.service according your preferences (YSF2DMR binary location, YSF2DMR.ini location, etc):

sudo nano /usr/local/sbin/ysf2dmr.service

Copy the units folder contents to /lib/systemd/system:

sudo cp units/* /lib/systemd/system

Reload systemctl and enable ysf2dmr.timer:

sudo systemctl daemon-reload
sudo systemctl enable ysf2dmr.timer