1 2 3 4 5 6 7 8 9 10 11
/var/log/rspamd/*log { daily rotate 10 missingok notifempty compress sharedscripts postrotate [ ! -f /run/rspamd.pid ] || kill -USR1 `cat /run/rspamd.pid` endscript }