This website requires JavaScript.
Explore
Help
Register
Sign In
admin
/
gluetun
Watch
1
Star
0
Fork
0
You've already forked gluetun
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
60a69f316bfc4c19a4db29c1440d99dbc593ccda
gluetun
/
healthcheck.sh
6 lines
93 B
Bash
Raw
Normal View
History
Unescape
Escape
Changed healthcheck to only ping 1.1.1.1 to check connectivity This is because your VPN public IP might not be the VPN server entrance IP address, resulting in the container being unhealthy most of the time.
2019-01-15 14:40:28 +01:00
#!/bin/sh
Fixes #24 by adding a 3 seconds wait for ping
2019-05-22 09:29:55 +02:00
out
=
"
$(
ping -W
3
-c
1
-q -s
8
1.1.1.1
)
"
[
$?
!
=
0
]
||
exit
0
printf
"
$out
"
Changed healthcheck to only ping 1.1.1.1 to check connectivity This is because your VPN public IP might not be the VPN server entrance IP address, resulting in the container being unhealthy most of the time.
2019-01-15 14:40:28 +01:00
exit
1
Reference in New Issue
Copy Permalink