Update systemd unit files
This commit is contained in:
parent
c1ff8d39cc
commit
d75291d391
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=DMRlink ambe audio Service
|
||||||
|
# Description=Place this file in /lib/systemd/system
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
StandardOutput=null
|
||||||
|
WorkingDirectory=/opt/dmrlink/ambe_audio
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
ExecStart=/usr/bin/python /opt/dmrlink/ambe_audio/ambe_audio.py
|
||||||
|
ExecReload=/bin/kill -2 $MAINPID
|
||||||
|
KillMode=process
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=network-online.target
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
[Unit]
|
||||||
|
Description=DMRlink bridge Service
|
||||||
|
# Description=Place this file in /lib/systemd/system
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
StandardOutput=null
|
||||||
|
WorkingDirectory=/opt/dmrlink/bridge
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
ExecStart=/usr/bin/python /opt/dmrlink/bridge/bridge.py
|
||||||
|
ExecReload=/bin/kill -2 $MAINPID
|
||||||
|
KillMode=process
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=network-online.target
|
||||||
|
|
Loading…
Reference in New Issue