Update p25gateway.service

This commit is contained in:
hp3icc 2022-05-18 23:19:41 -05:00 committed by GitHub
parent 0ccbbe7688
commit afbfdd1b50
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/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