aboutsummaryrefslogtreecommitdiffstats
path: root/centos/sources/rspam.logrotate
blob: 0b93591d4cfe5a0cf238cb4e0590158b1800a2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
/var/log/rspamd/*log {
    daily
    rotate 10
    missingok
    notifempty
    compress
    sharedscripts
    postrotate
        [ ! -f /var/run/rspamd.pid ] || kill -USR1 `cat /var/run/rspamd.pid`
    endscript
}