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

14 lines
150 B
Bash
Executable file

#!/usr/bin/env bash
set -e
set -o pipefail
while true; do
if curl -k https://localhost:443 | jq ; then
exit 0
fi
sleep 3
done