diff --git a/check_process b/check_process index 89c34e9..ba22cd5 100644 --- a/check_process +++ b/check_process @@ -6,6 +6,7 @@ setup_nourl=0 setup_private=0 upgrade=1 + upgrade=1 from_commit=2.0.1-ynh1 upgrade=1 from_commit=2.0.0-ynh1 upgrade=1 from_commit=1.31.0-ynh1 # 1.30.1~ynh1 diff --git a/scripts/install b/scripts/install index 3a1fca1..2a551f4 100755 --- a/scripts/install +++ b/scripts/install @@ -14,6 +14,7 @@ ynh_add_config -t "server.yml" -d "$install_dir/server.yml" ynh_script_progression -m "Adding a command wrapper..." -w 1 ynh_add_config -t "ntfy.sh" -d "$install_dir/ntfy.sh" +chmod u+x "$install_dir/ntfy.sh" ynh_script_progression -m "Configuring systemd service..." -w 1 ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 9838c72..2f34802 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,6 +20,7 @@ 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" +chmod u+x "$install_dir/ntfy.sh" ynh_script_progression -m "Upgrading systemd configuration..." -w 1 ynh_add_systemd_config