From 505612dfc93f25bb340a4e568cd621d8fce4672f Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 27 Aug 2024 11:24:55 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/bin/entrypoint.sh --- rootfs/usr/local/bin/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/usr/local/bin/entrypoint.sh b/rootfs/usr/local/bin/entrypoint.sh index 6a8816f..33e3496 100755 --- a/rootfs/usr/local/bin/entrypoint.sh +++ b/rootfs/usr/local/bin/entrypoint.sh @@ -429,6 +429,7 @@ backup) ;; # Docker healthcheck healthcheck) + shift healthStatus=0 services="${SERVICES_LIST:-$@}" healthEnabled="${HEALTH_ENABLED:-}" @@ -436,6 +437,7 @@ healthcheck) healthEndPoints="${HEALTH_ENDPOINTS:-}" healthMessage="Everything seems to be running" services="${services//,/ }" + { [ "$1" = "init" ] || [ "$1" = "test" ]; } && exit 0 [ "$healthEnabled" = "yes" ] || exit 0 for proc in $services; do if [ -n "$proc" ]; then