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"