From df01e35d5a0d0799527613afa39b635197905495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20W=C3=BChr?= Date: Fri, 24 Feb 2023 15:14:54 +0100 Subject: [PATCH] Fix another helper invocation error --- scripts/restore | 2 +- scripts/upgrade | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index ba5daaa..2bd0b64 100755 --- a/scripts/restore +++ b/scripts/restore @@ -20,6 +20,6 @@ ynh_script_progression -m "Starting a systemd service..." -w 1 ynh_systemd_action -a start ynh_script_progression -m "Reloading the web server..." -w 1 -ynh_systemd_action -s nginx -a reload +ynh_systemd_action -a reload -n nginx ynh_script_progression -m "Restoration completed" -l \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index 8fa9e67..9838c72 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,9 +21,6 @@ ynh_add_config -t "server.yml" -d "$install_dir/server.yml" ynh_script_progression -m "Updating simple command wrapper..." -w 1 ynh_add_config -t "ntfy.sh" -d "$install_dir/ntfy.sh" -ynh_script_progression -m "Fixing file permissions..." -w 1 -ntfy_fix_permissions - ynh_script_progression -m "Upgrading systemd configuration..." -w 1 ynh_add_systemd_config