summaryrefslogtreecommitdiffstats
path: root/rpm/rspamd.logrotate
blob: ea1b02d7c15fa4927939ed814333a639896c7ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
/var/log/rspamd/*log {
    daily
    rotate 10
    missingok
    notifempty
    compress
    sharedscripts
    postrotate
        systemctl --signal=USR1 --kill-who=main kill rspamd.service 2>/dev/null || :
    endscript
}