geteduroam-ops/common-app/overlay/etc/sunet-machine-healthy/health-checks.d/app.check

14 lines
150 B
Plaintext
Raw Normal View History

2024-08-21 11:55:06 +00:00
#!/usr/bin/env bash
set -e
set -o pipefail
2024-08-21 12:10:03 +00:00
while true; do
if curl -k https://localhost:443 | jq ; then
exit 0
fi
sleep 3
done