diff --git a/rootfs/usr/local/etc/docker/init.d/03-php-fpm.sh b/rootfs/usr/local/etc/docker/init.d/03-php-fpm.sh index 873f767..d9317a9 100755 --- a/rootfs/usr/local/etc/docker/init.d/03-php-fpm.sh +++ b/rootfs/usr/local/etc/docker/init.d/03-php-fpm.sh @@ -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"