compress
delaycompress
copytruncate
create 640 intelmq intelmq

/opt/intelmq/var/log/*.log {
    su intelmq intelmq
    daily
    maxsize 10M
    rotate 60
    notifempty
    sharedscripts
    postrotate
        sudo -u intelmq /usr/local/bin/intelmqctl --quiet reload
    endscript
}

/opt/intelmq/var/lib/bots/file-output/*.txt {
    su intelmq intelmq
    daily
    maxsize 10M
    rotate 60
    notifempty
    sharedscripts
    postrotate
        sudo -u intelmq /usr/local/bin/intelmqctl --quiet reload file-output
    endscript
}
