Jafner.net/5etools-docker/healthcheck.sh

9 lines
158 B
Bash
Raw Normal View History

2021-08-01 12:57:30 -07:00
#!/bin/bash
while [ $(cat /status) != "INIT" ]
do
sleep 10;
done
curl --insecure --fail --silent --show-error -I http://localhost:80 > /dev/null || exit 1