From f95efdb2cf0be2512f283cd3c5d000f1d16120d9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 29 May 2021 23:45:42 +0200 Subject: [PATCH] Update restore --- scripts/restore | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/restore b/scripts/restore index 7632025..e44498e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -71,14 +71,10 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chmod -R g+w $final_path/app/config/ -chmod -R g+w $final_path/media/files/ -chmod -R g+w $final_path/media/images/ -chmod -R g+w $final_path/translations/ - #================================================= # 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" @@ -94,6 +90,7 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./ #================================================= # RESTORE VARIOUS FILES #================================================= +ynh_script_progression --message="Restoring various files..." --weight=1 ynh_restore_file --origin_path="/etc/cron.d/$app"