Robert Kaussow
3a91b11be2
Co-authored-by: Robert Kaussow <xoxys@rknet.org> Co-committed-by: Robert Kaussow <xoxys@rknet.org>
11 lines
157 B
Bash
Executable File
11 lines
157 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# shellcheck disable=SC3040
|
|
set -eo pipefail
|
|
|
|
URL=http://127.0.0.1:8080/alive
|
|
|
|
! wget --quiet --tries=1 --spider ${URL} || exit 1
|
|
|
|
exit 0
|