mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update ysfgateway.service
This commit is contained in:
parent
f9ddac0ec3
commit
a4c6fcd888
|
|
@ -14,7 +14,7 @@ RestartSec=3
|
|||
StandardOutput=null
|
||||
WorkingDirectory=/opt/YSFGateway
|
||||
#ExecStartPre = /bin/sh -c 'echo "Starting YSFGateway: [`date +%%T.%%3N`]" >> /var/log/netcheck'
|
||||
ExecStartPre=/bin/sh -c 'until ping -c1 google.com; do sleep 1; done;'
|
||||
ExecStartPre=/bin/sh -c 'until ping -c1 noip.com; do sleep 1; done;'
|
||||
ExecStart=/opt/YSFGateway/YSFGateway /opt/YSFGateway/YSFGateway.ini
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
|
|
|||
Loading…
Reference in New Issue