mirror of
				https://github.com/casjaysdevdocker/bind
				synced 2025-11-04 01:02:38 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/00-named.sh rootfs/usr/local/etc/docker/init.d/03-php-fpm.sh rootfs/usr/local/etc/docker/init.d/99-nginx.sh
This commit is contained in:
		@@ -674,16 +674,16 @@ __fix_permissions "$SERVICE_USER" "$SERVICE_GROUP"
 | 
			
		||||
#
 | 
			
		||||
__run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || exit 20
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log" && errorCode=0 || errorCode=10
 | 
			
		||||
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log"
 | 
			
		||||
errorCode=$?
 | 
			
		||||
if [ -n "$EXEC_CMD_BIN" ]; then
 | 
			
		||||
  if [ "$errorCode" -eq 0 ]; then
 | 
			
		||||
    SERVICE_EXIT_CODE=0
 | 
			
		||||
    SERVICE_IS_RUNNING="yes"
 | 
			
		||||
  else
 | 
			
		||||
    echo "Failed to execute: ${cmd_exec:-$(eval echo "$EXEC_CMD_BIN $EXEC_CMD_ARGS")}" | tee -p -a "/data/logs/entrypoint.log" "/data/logs/init.txt"
 | 
			
		||||
    SERVICE_EXIT_CODE=$errorCode
 | 
			
		||||
    rm -Rf "$SERVICE_PID_FILE"
 | 
			
		||||
    SERVICE_IS_RUNNING="no"
 | 
			
		||||
    SERVICE_IS_RUNNING="${SERVICE_IS_RUNNING:-no}"
 | 
			
		||||
    [ -s "$SERVICE_PID_FILE" ] || rm -Rf "$SERVICE_PID_FILE"
 | 
			
		||||
  fi
 | 
			
		||||
  SERVICE_EXIT_CODE=0
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
@@ -574,16 +574,16 @@ __fix_permissions "$SERVICE_USER" "$SERVICE_GROUP"
 | 
			
		||||
#
 | 
			
		||||
__run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || return 20
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log" && errorCode=0 || errorCode=10
 | 
			
		||||
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log"
 | 
			
		||||
errorCode=$?
 | 
			
		||||
if [ -n "$EXEC_CMD_BIN" ]; then
 | 
			
		||||
  if [ "$errorCode" -eq 0 ]; then
 | 
			
		||||
    SERVICE_EXIT_CODE=0
 | 
			
		||||
    SERVICE_IS_RUNNING="yes"
 | 
			
		||||
  else
 | 
			
		||||
    echo "Failed to execute: ${cmd_exec:-$(eval echo "$EXEC_CMD_BIN $EXEC_CMD_ARGS")}" | tee -p -a "/data/logs/entrypoint.log" "/data/logs/init.txt"
 | 
			
		||||
    SERVICE_EXIT_CODE=$errorCode
 | 
			
		||||
    rm -Rf "$SERVICE_PID_FILE"
 | 
			
		||||
    SERVICE_IS_RUNNING="no"
 | 
			
		||||
    SERVICE_IS_RUNNING="${SERVICE_IS_RUNNING:-no}"
 | 
			
		||||
    [ -s "$SERVICE_PID_FILE" ] || rm -Rf "$SERVICE_PID_FILE"
 | 
			
		||||
  fi
 | 
			
		||||
  SERVICE_EXIT_CODE=0
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
@@ -574,16 +574,16 @@ __fix_permissions "$SERVICE_USER" "$SERVICE_GROUP"
 | 
			
		||||
#
 | 
			
		||||
__run_pre_execute_checks 2>/dev/stderr | tee -a -p "/data/logs/entrypoint.log" "/data/logs/init.txt" || return 20
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log" && errorCode=0 || errorCode=10
 | 
			
		||||
__run_start_script 2>>/dev/stderr | tee -p -a "/data/logs/entrypoint.log"
 | 
			
		||||
errorCode=$?
 | 
			
		||||
if [ -n "$EXEC_CMD_BIN" ]; then
 | 
			
		||||
  if [ "$errorCode" -eq 0 ]; then
 | 
			
		||||
    SERVICE_EXIT_CODE=0
 | 
			
		||||
    SERVICE_IS_RUNNING="yes"
 | 
			
		||||
  else
 | 
			
		||||
    echo "Failed to execute: ${cmd_exec:-$(eval echo "$EXEC_CMD_BIN $EXEC_CMD_ARGS")}" | tee -p -a "/data/logs/entrypoint.log" "/data/logs/init.txt"
 | 
			
		||||
    SERVICE_EXIT_CODE=$errorCode
 | 
			
		||||
    rm -Rf "$SERVICE_PID_FILE"
 | 
			
		||||
    SERVICE_IS_RUNNING="no"
 | 
			
		||||
    SERVICE_IS_RUNNING="${SERVICE_IS_RUNNING:-no}"
 | 
			
		||||
    [ -s "$SERVICE_PID_FILE" ] || rm -Rf "$SERVICE_PID_FILE"
 | 
			
		||||
  fi
 | 
			
		||||
  SERVICE_EXIT_CODE=0
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user