Add curl script to simplify http healthchecks

This commit is contained in:
Ian Fijolek
2023-04-18 13:12:11 -07:00
parent 7d87c3d036
commit 99b8723abc
+6
View File
@@ -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 "$@"