diff options
Diffstat (limited to 'docker/conf-workers/healthcheck.sh.j2')
-rw-r--r-- | docker/conf-workers/healthcheck.sh.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/conf-workers/healthcheck.sh.j2 b/docker/conf-workers/healthcheck.sh.j2 new file mode 100644 index 0000000000..79c621f89c --- /dev/null +++ b/docker/conf-workers/healthcheck.sh.j2 @@ -0,0 +1,6 @@ +#!/bin/sh +# This healthcheck script is designed to return OK when every +# host involved returns OK +{%- for healthcheck_url in healthcheck_urls %} +curl -fSs {{ healthcheck_url }} || exit 1 +{%- endfor %} |