From d05c324d5652655f708980c68bb3492ae4701aa9 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 25 Jun 2021 14:31:45 +0200 Subject: [PATCH] Update restore --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 68cfa32..30ed8ef 100644 --- a/scripts/restore +++ b/scripts/restore @@ -118,7 +118,7 @@ ynh_restore_file "/etc/cron.d/$app" ynh_script_progression --message="Reloading nginx web server and php-fpm..." --weight=1 postmap $final_path/var/virtual -ynh_systemd_action --service_name=php7.0-fpm --action=restart +ynh_systemd_action --service_name=php$phpversion-fpm --action=restart ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=postfix --action=reload @@ -126,4 +126,4 @@ ynh_systemd_action --service_name=postfix --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" --last \ No newline at end of file +ynh_script_progression --message="Restoration completed for $app" --last