Add systemd unit
This commit is contained in:
parent
87b7a7c48a
commit
76033dd301
1 changed files with 12 additions and 0 deletions
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
|
Loading…
Reference in a new issue