summary refs log tree commit diff
path: root/docker/conf-workers/healthcheck.sh.j2
blob: 79c621f89ccb2e34dc13af9208a2f374e5c6b975 (plain) (blame)
1
2
3
4
5
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 %}