aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rspamd.logrotate
blob: f486a473877442e2cdfc7d0a7be49a5382a2dd2d (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
          if [ -f /bin/systemctl ] ; then systemctl --signal USR1 kill rspamd.service ; else service rspamd reopenlog >/dev/null 2>&1 ; fi || true
       endscript
}