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/03-php-fpm.sh
This commit is contained in:
		@@ -79,11 +79,11 @@ DATABASE_DIR="$DATABASE_BASE_DIR/$DATABASE_SUBDIR"
 | 
			
		||||
WWW_ROOT_DIR="/usr/share/httpd/default"
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Default predefined variables
 | 
			
		||||
DATA_DIR="/data/php-fpm"   # set data directory
 | 
			
		||||
CONF_DIR="/config/php-fpm" # set config directory
 | 
			
		||||
DATA_DIR="/data/php-fpm" # set data directory
 | 
			
		||||
CONF_DIR="/config/php"   # set config directory
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# set the containers etc directory
 | 
			
		||||
ETC_DIR="/etc/php-fpm"
 | 
			
		||||
ETC_DIR="/etc/php"
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# set the var dir
 | 
			
		||||
VAR_DIR=""
 | 
			
		||||
@@ -114,9 +114,9 @@ SERVICE_UID="0" # set the user id
 | 
			
		||||
SERVICE_GID="0" # set the group id
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# execute command variables - keep single quotes variables will be expanded later
 | 
			
		||||
EXEC_CMD_BIN='php-fpm'                                                  # command to execute
 | 
			
		||||
EXEC_CMD_ARGS='--allow-to-run-as-root --fpm-config $ETC_DIR/php-fpm.co' # command arguments
 | 
			
		||||
EXEC_PRE_SCRIPT=''                                                      # execute script before
 | 
			
		||||
EXEC_CMD_BIN='php-fpm'                                                            # command to execute
 | 
			
		||||
EXEC_CMD_ARGS='--allow-to-run-as-root --fpm-config $ETC_DIR/php-fpm/php-fpm.conf' # command arguments
 | 
			
		||||
EXEC_PRE_SCRIPT=''                                                                # execute script before
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
# Is this service a web server
 | 
			
		||||
IS_WEB_SERVER="no"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user