summaryrefslogtreecommitdiffstats
path: root/debian/rspamd.logrotate
blob: 18253bd2beab7b8e483c8fd9aab8e9508f2738ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/var/log/rspamd/rspamd.log {
       daily
       rotate 4
       delaycompress
       compress
       notifempty
       missingok
       postrotate
          systemctl kill --signal=SIGUSR1 rspamd >/dev/null 2>&1 \
             || service rspamd reopenlog >/dev/null 2>&1 || true
       endscript
}