vaultwarden/overlay/usr/local/bin/healthcheck
Robert Kaussow d813a1b55f
All checks were successful
continuous-integration/drone/push Build is passing
set back pipefail
2020-02-04 00:24:04 +01:00

11 lines
130 B
Bash
Executable File

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