Add curl script to simplify http healthchecks
This commit is contained in:
parent
7d87c3d036
commit
99b8723abc
6
scripts/curl_ok.sh
Executable file
6
scripts/curl_ok.sh
Executable 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 "$@"
|
Loading…
Reference in New Issue
Block a user