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