summaryrefslogtreecommitdiff
path: root/rspamd/rspamd.logrotate
blob: 3a155f8e91bcc7b64a7761eac77498b5d0bab36e (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 /run/rspamd.pid ] || kill -USR1 `cat /run/rspamd.pid`
    endscript
}