🗃️ Committing everything that changed 🗃️

rootfs/usr/local/bin/entrypoint.sh
This commit is contained in:
casjay 2024-08-27 11:24:55 -04:00
parent 13f6a036cc
commit 505612dfc9
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -429,6 +429,7 @@ backup)
;; ;;
# Docker healthcheck # Docker healthcheck
healthcheck) healthcheck)
shift
healthStatus=0 healthStatus=0
services="${SERVICES_LIST:-$@}" services="${SERVICES_LIST:-$@}"
healthEnabled="${HEALTH_ENABLED:-}" healthEnabled="${HEALTH_ENABLED:-}"
@ -436,6 +437,7 @@ healthcheck)
healthEndPoints="${HEALTH_ENDPOINTS:-}" healthEndPoints="${HEALTH_ENDPOINTS:-}"
healthMessage="Everything seems to be running" healthMessage="Everything seems to be running"
services="${services//,/ }" services="${services//,/ }"
{ [ "$1" = "init" ] || [ "$1" = "test" ]; } && exit 0
[ "$healthEnabled" = "yes" ] || exit 0 [ "$healthEnabled" = "yes" ] || exit 0
for proc in $services; do for proc in $services; do
if [ -n "$proc" ]; then if [ -n "$proc" ]; then