mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-11 16:57:12 +02:00
Increase healthcheck ping timeout (#1627)
This commit is contained in:
parent
53d3f05b7a
commit
623e4541c8
@ -11,7 +11,7 @@ then
|
|||||||
HOST="google.com"
|
HOST="google.com"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ping -c 2 -w 5 $HOST # Get at least 2 responses and timeout after 5 seconds
|
ping -c 2 -w 10 $HOST # Get at least 2 responses and timeout after 10 seconds
|
||||||
STATUS=$?
|
STATUS=$?
|
||||||
if [[ ${STATUS} -ne 0 ]]
|
if [[ ${STATUS} -ne 0 ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user