diff --git a/scripts/install b/scripts/install index 06cd3cc..50d83cc 100644 --- a/scripts/install +++ b/scripts/install @@ -79,11 +79,11 @@ ynh_system_user_create --username=$app #================================================= # PHP-FPM CONFIGURATION #================================================= -ynh_script_progression --message="Configuring PHP-FPM..." +ynh_script_progression --message="Upgrading PHP-FPM configuration..." + +# Create a dedicated php-fpm config +ynh_add_fpm_config --usage=low --footprint=low -# Create a dedicated PHP-FPM config -ynh_add_fpm_config -phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= # SECURE FILES AND DIRECTORIES diff --git a/scripts/upgrade b/scripts/upgrade index 7f89bf7..29c6049 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,11 +71,10 @@ ynh_system_user_create --username=$app #================================================= # PHP-FPM CONFIGURATION #================================================= -ynh_script_progression --message="Upgrading PHP-FPM configuration..." - -# Create a dedicated php-fpm config -ynh_add_fpm_config +ynh_script_progression --message="Configuring PHP-FPM..." +# Create a dedicated PHP-FPM config +ynh_add_fpm_config --usage=low --footprint=low #================================================= # SECURE FILES AND DIRECTORIES