mirror of
				https://github.com/casjaysdevdocker/bind
				synced 2025-11-03 19:02:10 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user