Logo
Explore Help
Register Sign In
admin/gluetun
1
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

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
Powered by Gitea Version: 1.25.2 Page: 77ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API