ericgaspar
5 years ago
No known key found for this signature in database
GPG Key ID: 574F281483054D44
3 changed files with
4 additions and
2 deletions
-
scripts/install
-
scripts/restore
-
scripts/upgrade
|
|
@ -109,7 +109,7 @@ else |
|
|
usage=high |
|
|
usage=high |
|
|
fi |
|
|
fi |
|
|
# Create a dedicated PHP-FPM config |
|
|
# Create a dedicated PHP-FPM config |
|
|
ynh_add_fpm_config --usage=$usage --footprint=medium |
|
|
|
|
|
|
|
|
ynh_add_fpm_config --usage=$usage --footprint=medium --package="$extra_php_dependencies" |
|
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) |
|
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
|
|
|
@ -96,6 +96,8 @@ chown root: $final_path/wp-config.php |
|
|
|
|
|
|
|
|
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" |
|
|
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" |
|
|
|
|
|
|
|
|
|
|
|
ynh_add_fpm_config --package="$extra_php_dependencies" |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# RESTORE THE FAIL2BAN CONFIGURATION |
|
|
# RESTORE THE FAIL2BAN CONFIGURATION |
|
|
#================================================= |
|
|
#================================================= |
|
|
|
|
|
@ -196,7 +196,7 @@ if [ $overwrite_phpfpm -eq 1 ] |
|
|
then |
|
|
then |
|
|
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=4 |
|
|
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=4 |
|
|
# Create a dedicated PHP-FPM config |
|
|
# Create a dedicated PHP-FPM config |
|
|
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint |
|
|
|
|
|
|
|
|
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --package="$extra_php_dependencies" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
|