mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-13 11:21:02 +01:00
7 lines
166 B
Plaintext
7 lines
166 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
if [ -f "/tmp/healthcheck-signal" ]; then
|
|
curl -k --fail https://127.0.0.1:9001/ping || exit 1
|
|
else
|
|
touch /tmp/healthcheck-signal
|
|
fi |