smeserver-spamassassin/root/etc/logrotate.d/spamd
2024-08-13 23:29:21 -04:00

14 lines
245 B
Plaintext

/var/log/spamd/spamd.log
{
missingok
notifempty
sharedscripts
delaycompress
su root root
create 600 root root
postrotate
/usr/bin/systemctl -s HUP kill rsyslog.service >/dev/null 2>&1 || true
endscript
}