vaultwarden/overlay/usr/local/bin/healthcheck.sh
2020-01-18 17:26:41 +01:00

10 lines
139 B
Bash
Executable File

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