This repository has been archived on 2021-12-12. You can view files and clone it, but cannot push or open issues or pull requests.
kanboard/overlay/usr/local/bin/healthcheck.sh
Robert Kaussow 8d842b8393
All checks were successful
continuous-integration/drone/push Build is passing
fix healthcheck and dockerfile label
2019-07-22 00:45:00 +02:00

10 lines
120 B
Bash
Executable File

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