mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-22 22:10:31 +02:00
test
This commit is contained in:
7
portainer_agent/rootfs/usr/sbin/healthcheck
Normal file
7
portainer_agent/rootfs/usr/sbin/healthcheck
Normal 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
|
||||
Reference in New Issue
Block a user