2020-01-16 23:57:45 +00:00
|
|
|
#!/usr/bin/env sh
|
2020-02-01 22:14:37 +00:00
|
|
|
|
2021-10-10 13:26:00 +00:00
|
|
|
# shellcheck disable=SC3040
|
2020-02-03 23:35:23 +00:00
|
|
|
set -eo pipefail
|
2020-02-01 17:34:59 +00:00
|
|
|
|
2020-01-18 16:26:41 +00:00
|
|
|
URL=http://127.0.0.1:8080/alive
|
2020-01-16 23:57:45 +00:00
|
|
|
|
2021-10-10 13:26:00 +00:00
|
|
|
! wget --quiet --tries=1 --spider ${URL} || exit 1
|
2020-01-16 23:57:45 +00:00
|
|
|
|
|
|
|
exit 0
|