mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 00:35:53 +08: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:
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
|
||||
Reference in New Issue
Block a user