diff --git a/splunk/common-files/checkstate.sh b/splunk/common-files/checkstate.sh index 83889a9b..977e3bed 100755 --- a/splunk/common-files/checkstate.sh +++ b/splunk/common-files/checkstate.sh @@ -33,7 +33,7 @@ if [[ "" == "$NO_HEALTHCHECK" ]]; then case "$state" in running|started) - curl -m 30 -f -k $SCHEME://localhost:8089/ + curl --max-time 30 --fail --insecure $SCHEME://localhost:8089/ exit $? ;; *)