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