diff --git a/scripts/install b/scripts/install index cd81417..c64ea82 100755 --- a/scripts/install +++ b/scripts/install @@ -20,6 +20,7 @@ yunohost service add $app ynh_script_progression -m "Adding a command wrapper..." -w 1 ynh_add_config -t "ntfy.sh" -d "$install_dir/ntfy.sh" +chown $app:$app "$install_dir/ntfy.sh" chmod u+x "$install_dir/ntfy.sh" ynh_script_progression -m "Configuring web server..." -w 2 diff --git a/scripts/upgrade b/scripts/upgrade index 8c8c54e..ce46d1a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -23,6 +23,7 @@ yunohost service add $app ynh_script_progression -m "Updating simple command wrapper..." -w 1 ynh_add_config -t "ntfy.sh" -d "$install_dir/ntfy.sh" +chown $app:$app "$install_dir/ntfy.sh" chmod u+x "$install_dir/ntfy.sh" ynh_script_progression -m "Upgrading web server configuration..." -w 2