/var/log/rspamd/*log {
    daily
    rotate 10
    missingok
    notifempty
    compress
    sharedscripts
    postrotate
        systemctl --signal=USR1 --kill-who=main kill rspamd.service 2>/dev/null || :
    endscript
}
