From 6cef22a56affb31ef819f5ce4a089bb213e500d7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 9 Jun 2020 23:14:42 +0200 Subject: [PATCH] fix restore --- scripts/restore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/restore b/scripts/restore index 03e23fd..8824c5a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -81,8 +81,12 @@ chown -R $app: $final_path #================================================= 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 --usage=low --footprint=low --package="$extra_php_dependencies" + #================================================= # SPECIFIC RESTORATION #=================================================