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