synapse-worker-docker/rootfs/conf-workers/healthcheck.sh.j2
2022-10-31 19:41:26 -04:00

6 lines
202 B
Django/Jinja

#!/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 %}