diff --git a/scripts/install b/scripts/install index 7fe6788..137aa66 100644 --- a/scripts/install +++ b/scripts/install @@ -154,7 +154,7 @@ touch $install_log chown $app -R /var/log/$app # Setup logrotate -ynh_use_logrotate +ynh_use_logrotate --specific_user=$app/$app #================================================= # INSTALL ETHERPAD diff --git a/scripts/upgrade b/scripts/upgrade index 4b9666f..c9a40d0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -372,7 +372,7 @@ ynh_add_fail2ban_config --logpath="/var/log/nginx/$domain-access.log" --failrege ynh_script_progression --message="Upgrading logrotate configuration..." # Use logrotate to manage app-specific logfile(s) -ynh_use_logrotate --non-append +ynh_use_logrotate --non-append --specific_user=$app/$app #================================================= # SETUP SYSTEMD