Update quantar_bridge.service

This commit is contained in:
hp3icc 2022-05-18 23:20:37 -05:00 committed by GitHub
parent 02b6502c68
commit f9ddac0ec3
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 @@ StandardOutput=null
WorkingDirectory=/opt/Quantar_Bridge
Environment=QuantarBridgeLogDir=/var/log/dvswitch
#ExecStartPre = /bin/sh -c 'echo "Starting Quantar_Bridge: [`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/Quantar_Bridge/Quantar_Bridge /opt/Quantar_Bridge/Quantar_Bridge.ini
ExecReload=/bin/kill -2 $MAINPID
KillMode=process