Create mmdvmhost.service

MMDVMHost Unit File
This is what systemd uses to start / stop the service.

All of the heavy lifting is done in /usr/local/sbin/mmdvmhost_service
This commit is contained in:
AndyTaylorTweet
2016-08-15 09:25:26 +01:00
committed by GitHub
parent 83b27188e5
commit c1ce8471b1

View File

@@ -0,0 +1,12 @@
[Unit]
Description=MMDVMHost Radio Servce
After=syslog.target network.target
[Service]
Type=forking
ExecStart=/usr/local/sbin/mmdvmhost_service start
ExecStop=/usr/local/sbin/mmdvmhost_service stop
ExecReload=/usr/local/sbin/mmdvmhost_service restart
[Install]
WantedBy=multi-user.target