mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 08:05:49 +08:00
Add systemd unit
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]
|
||||||
|
User=mmdvm
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/bin/local/MMDVMHost
|
||||||
|
Restart=on-abnormal
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user