rspamd/debian/rspamd.logrotate
2018-04-20 11:37:29 +01:00

13 lines
314 B
Plaintext

/var/log/rspamd/rspamd.log{
daily
rotate 4
delaycompress
compress
notifempty
missingok
postrotate
if [ -f /bin/systemctl ] ; then systemctl --signal USR1 kill rspamd.service ; else service rspamd reopenlog >/dev/null 2>&1 ; fi || true
endscript
}