healthcheck.sh.j2 203 B

123456
  1. #!/bin/sh
  2. # This healthcheck script is designed to return OK when every
  3. # host involved returns OK
  4. {%- for healthcheck_url in healthcheck_urls %}
  5. curl -fSs {{ healthcheck_url }} || exit 1
  6. {%- endfor %}