From 6344ac48e1ccfa73da7c782d4fde87fa84287cb5 Mon Sep 17 00:00:00 2001 From: Miraty Date: Sat, 5 Mar 2022 02:45:30 +0100 Subject: [PATCH] Fix restore script --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index d2b332e..4e63ef7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -12,6 +12,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1 ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_systemd_action --service_name=nginx --action=reload ynh_script_progression --message="Recreating the dedicated system user..." ynh_system_user_create --username=$app --home_dir="$final_path"