diff --git a/scripts/restore b/scripts/restore index b37e463..f4795a1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -67,12 +67,12 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Restoring PHP-FPM configuration..." -# Restore the file first, so it can have a backup if different -ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" - # Recreate a dedicated php-fpm config ynh_add_fpm_config --phpversion=$phpversion +# Restore the file first, so it can have a backup if different +ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" + #================================================= # GENERIC FINALIZATION #=================================================