diff --git a/common-app/overlay/etc/sunet-machine-healthy/health-checks.d/app.check b/common-app/overlay/etc/sunet-machine-healthy/health-checks.d/app.check index bf92e14..20ef773 100755 --- a/common-app/overlay/etc/sunet-machine-healthy/health-checks.d/app.check +++ b/common-app/overlay/etc/sunet-machine-healthy/health-checks.d/app.check @@ -3,4 +3,11 @@ set -e set -o pipefail -curl -k https://localhost:443 | jq + +while true; do + if curl -k https://localhost:443 | jq ; then + exit 0 + fi + + sleep 3 +done