mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-25 03:35:28 +00:00
![Michael Kaye](/assets/img/avatar_default.png)
The intent is to iterate through all the worker ports and only report healthy when all are healthy, starting with the main process.
7 lines
203 B
Django/Jinja
7 lines
203 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 %}
|