mirror of
https://github.com/casjaysdevdocker/bind
synced 2024-11-22 05:23:09 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
This commit is contained in:
parent
13f6a036cc
commit
505612dfc9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user