1 2 3 4 5 6 7 8 9 10 11
# /etc/logrotate.d/librenms /var/log/librenms/*log { su http http weekly rotate 6 compress delaycompress missingok notifempty create 664 http http }