vaultwarden/overlay/usr/local/bin/healthcheck.sh

10 lines
131 B
Bash
Raw Normal View History

2020-01-17 00:57:45 +01:00
#!/usr/bin/env sh
set -eo pipefail
URL=http://localhost:80
wget --quiet --tries=1 --spider ${URL}
[ $? -ne 0 ] && exit 1
exit 0