mirror of
https://github.com/casjaysdevdocker/bind
synced 2024-11-22 17:23:13 -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
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user