mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-01-06 08:30:05 +01:00
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:
parent
83b27188e5
commit
c1ce8471b1
12
linux/systemd/mmdvmhost.service
Normal file
12
linux/systemd/mmdvmhost.service
Normal 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
|
||||
Loading…
Reference in a new issue