DMRlink/systemd/bridge.service

18 lines
352 B
SYSTEMD
Raw Normal View History

2016-08-08 07:49:22 -04:00
[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
2016-08-10 11:07:22 -04:00
ExecStart=/usr/bin/python /opt/dmrlink/bridge/bridge.py
2016-08-08 07:49:22 -04:00
ExecReload=/bin/kill -2 $MAINPID
KillMode=process
[Install]
WantedBy=network-online.target