first commit
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=DMRGateway Service
|
||||
After=network-online.target netcheck.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=null
|
||||
WorkingDirectory=/usr/local/bin
|
||||
ExecStart=/usr/local/bin/DMRGateway /etc/dmrgateway/DMRGateway.ini
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
# To make the network-online.target available
|
||||
# systemctl enable systemd-networkd-wait-online.service
|
||||
WantedBy=network-online.target
|
||||
Reference in New Issue
Block a user