From f5365c9652caedf90ca949231366949fb1bc31e4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 17 Jul 2021 12:23:27 +0200 Subject: [PATCH] Update restore --- scripts/restore | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/scripts/restore b/scripts/restore index 7f99db7..bca14e3 100755 --- a/scripts/restore +++ b/scripts/restore @@ -24,7 +24,7 @@ ynh_abort_if_errors #================================================= # LOAD SETTINGS #================================================= -ynh_script_progression --message="Loading installation settings..." s--weight=1 +ynh_script_progression --message="Loading installation settings..." --weight=1 app=$YNH_APP_INSTANCE_NAME @@ -75,26 +75,17 @@ chown -R $app:www-data "$final_path" #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= +ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1 ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" -#================================================= -# SPECIFIC RESTORATION -#================================================= -# REINSTALL DEPENDENCIES -#================================================= -ynh_script_progression --message="Reinstalling dependencies..." --weight=1 - -# Define and install dependencies -ynh_install_app_dependencies $pkg_dependencies - #================================================= # RESTORE THE CRON FILE #================================================= +ynh_script_progression --message="Restoring cron file..." --weight=1 ynh_restore_file --origin_path="/etc/cron.d/$app" - #================================================= # RESTORE THE MYSQL DATABASE #=================================================