diff --git a/scripts/curl_ok.sh b/scripts/curl_ok.sh new file mode 100755 index 0000000..9974d6f --- /dev/null +++ b/scripts/curl_ok.sh @@ -0,0 +1,6 @@ +#! /bin/sh + +# Used for a basic HTTP health check +# Avoids output from non-errors and will fail if the HTTP response is unsuccessful + +curl --silent --show-error --fail -o /dev/null "$@"