diff --git a/scripts/install b/scripts/install index c9b8e44..0e3868c 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 2becd12..79e4cf0 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