MMDVM/install-mmdvm-sh/service/mmdvmhost.service

19 lines
442 B
SYSTEMD
Raw Permalink Normal View History

2022-08-24 08:10:10 +02:00
[Unit]
Description=MMDVMHost Service
After=network-online.target netcheck.service
[Service]
Type=simple
Restart=always
RestartSec=10
StandardOutput=null
WorkingDirectory=/usr/local/bin
ExecStart=/usr/local/bin/MMDVMHost /etc/mmdvmhost/MMDVM.ini
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
WantedBy=network-online.target