From 42fd79f90aafc7df988e26ed23a26ad213dc19f1 Mon Sep 17 00:00:00 2001 From: pp-r <64266134+pp-r@users.noreply.github.com> Date: Thu, 7 May 2020 11:37:36 +0200 Subject: [PATCH] Update restore --- scripts/restore | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index 6a47798..908d169 100644 --- a/scripts/restore +++ b/scripts/restore @@ -78,7 +78,7 @@ chown -R root: $final_path # RESTORE THE PHP-FPM CONFIGURATION #================================================= -#ynh_restore_file --origin_path="/etc/php/7.0/fpm/pool.d/$app.conf" +ynh_restore_file --origin_path="/etc/php/7.0/fpm/pool.d/$app.conf" #================================================= # RESTORE FAIL2BAN CONFIGURATION @@ -146,10 +146,9 @@ yunohost service add $app --description "A short description of the app" --log " #================================================= # RELOAD NGINX AND PHP-FPM #================================================= -#ynh_script_progression --message="Reloading nginx web server and php-fpm..." --time --weight=1 -ynh_script_progression --message="Reloading nginx web server..." --time --weight=1 +ynh_script_progression --message="Reloading nginx web server and php-fpm..." --time --weight=1 -#ynh_systemd_action --service_name=php7.0-fpm --action=reload +ynh_systemd_action --service_name=php7.0-fpm --action=reload ynh_systemd_action --service_name=nginx --action=reload #=================================================