mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-26 03:15:40 +08:00
Restore the branch
This commit is contained in:
12
linux/pi-star/systemd/mmdvmhost.service
Normal file
12
linux/pi-star/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
|
||||
@@ -1,12 +1,12 @@
|
||||
[Unit]
|
||||
Description=MMDVMHost Radio Servce
|
||||
Description=MMDVMHost Radio Service
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
User=mmdvm
|
||||
Type=forking
|
||||
ExecStart=/usr/local/sbin/mmdvmhost_service start
|
||||
ExecStop=/usr/local/sbin/mmdvmhost_service stop
|
||||
ExecReload=/usr/local/sbin/mmdvmhost_service restart
|
||||
ExecStart=/usr/local/bin/MMDVMHost
|
||||
Restart=on-abnormal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user