diff --git a/service/p25gateway.service b/service/p25gateway.service index 56e8fe7..e4d5e2b 100644 --- a/service/p25gateway.service +++ b/service/p25gateway.service @@ -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