Last active
August 16, 2022 04:48
-
-
Save markruler/814488d60355f2e75bc04dfc48c56da2 to your computer and use it in GitHub Desktop.
healthcheck
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
while ! curl --silent --output /dev/null --head --fail --max-time 3 --location ${1}; do | |
echo "Healthchecking...${1}" | |
sleep 2 | |
done |
Author
markruler
commented
Aug 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment