diff --git a/service/ysfgateway.service b/service/ysfgateway.service index 8d82049..83e7ebf 100644 --- a/service/ysfgateway.service +++ b/service/ysfgateway.service @@ -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