This commit is contained in:
Alexandre
2023-05-21 10:47:05 +02:00
parent 738cba2977
commit b82721ab6a
5 changed files with 34 additions and 26 deletions

View File

@@ -0,0 +1,7 @@
#!/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