mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update p25gateway.service
This commit is contained in:
parent
0ccbbe7688
commit
afbfdd1b50
|
|
@ -14,7 +14,7 @@ RestartSec=3
|
|||
StandardOutput=null
|
||||
WorkingDirectory=/opt/P25Gateway
|
||||
#ExecStartPre = /bin/sh -c 'echo "Starting P25Gateway: [`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/P25Gateway/P25Gateway /opt/P25Gateway/P25Gateway.ini
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
|
|
|
|||
Loading…
Reference in New Issue