11 lines
155 B
Bash
Executable File
11 lines
155 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
|