aboutsummaryrefslogtreecommitdiffstats
path: root/main/fail2ban/fail2ban.logrotate
blob: 5d22bd03950fcbc4be3b949c928ed061fc0c9834 (plain)
1
2
3
4
5
6
7
8
9
/var/log/fail2ban.log {
    daily
    rotate 7
    missingok
    compress
    postrotate
    	/usr/bin/fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true
    endscript
}