Start to add systemd support
This commit is contained in:
parent
61b07f421b
commit
2eee8de24a
0
systemd/ambe_audio.service
Normal file
0
systemd/ambe_audio.service
Normal file
18
systemd/bridge.service
Normal file
18
systemd/bridge.service
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=DMRlink bridge Service
|
||||||
|
# Description=Place this file in /lib/systemd/system
|
||||||
|
# Description=N4IRS 7/10/2016
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
StandardOutput=null
|
||||||
|
WorkingDirectory=/opt/dmrlink/bridge
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
ExecStart=/opt/dmrlink/bridge/
|
||||||
|
ExecReload=/bin/kill -2 $MAINPID
|
||||||
|
KillMode=process
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=network-online.target
|
||||||
|
|
0
systemd/playback.service
Normal file
0
systemd/playback.service
Normal file
Loading…
x
Reference in New Issue
Block a user