From cee92262b9780a488c1f94fd4c5686433ed486af Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 15 Mar 2021 23:19:49 +0100 Subject: [PATCH] Update restore --- scripts/restore | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/restore b/scripts/restore index 6c39ff9..1e017c7 100644 --- a/scripts/restore +++ b/scripts/restore @@ -84,18 +84,11 @@ chown -R $app $final_path/uploads/* #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= +ynh_script_progression --message="Reconfiguring PHP-FPM..." --weight=5 ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" -#================================================= -# SPECIFIC RESTORATION -#================================================= -# REINSTALL DEPENDENCIES -#================================================= -ynh_script_progression --message="Reinstalling dependencies..." --weight=2 - -# Define and install dependencies -ynh_install_app_dependencies $pkg_dependencies +ynh_add_fpm_config --package="$extra_php_dependencies" #================================================= # RESTORE THE MYSQL DATABASE