Update ysfgateway.service

This commit is contained in:
hp3icc 2022-05-18 23:21:12 -05:00 committed by GitHub
parent f9ddac0ec3
commit a4c6fcd888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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