rspamd/centos/sources/rspamd.logrotate.systemd
2018-04-17 10:17:56 +01:00

11 lines
247 B
Plaintext

/var/log/rspamd/*log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
export `systemctl -p MainPID show rspamd.service`; if [ -n "$MainPID" ]; then kill -USR1 $MainPID; fi
endscript
}