#!/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