From b972c9961642220a271333e0ac8759a8ac25763a Mon Sep 17 00:00:00 2001 From: Zoey Date: Sat, 16 Sep 2023 11:22:41 +0200 Subject: [PATCH] use php unix socket (3/3) Signed-off-by: Zoey --- Containers/mastercontainer/healthcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containers/mastercontainer/healthcheck.sh b/Containers/mastercontainer/healthcheck.sh index e5d27771..ef2931a8 100644 --- a/Containers/mastercontainer/healthcheck.sh +++ b/Containers/mastercontainer/healthcheck.sh @@ -5,6 +5,6 @@ if [ -f "/mnt/docker-aio-config/data/configuration.json" ]; then nc -z localhost 8000 || exit 1 nc -z localhost 8080 || exit 1 nc -z localhost 8443 || exit 1 - nc -z localhost 9000 || exit 1 nc -z localhost 9876 || exit 1 + [ -f /var/run/php.sock ] || exit 1 fi