use localhost ip

This commit is contained in:
Robert Kaussow 2020-01-18 17:26:41 +01:00
parent 03f34d9fc8
commit c9fcb5afff

View File

@ -1,7 +1,7 @@
#!/usr/bin/env sh #!/usr/bin/env sh
set -eo pipefail set -eo pipefail
URL=http://localhost:8080/alive URL=http://127.0.0.1:8080/alive
wget --quiet --tries=1 --spider ${URL} wget --quiet --tries=1 --spider ${URL}
[ $? -ne 0 ] && exit 1 [ $? -ne 0 ] && exit 1