aboutsummaryrefslogtreecommitdiff
path: root/network/fail2ban/fail2ban.logrotate
blob: 8af60998873d657e46a31ae6c93e3fc73b65e9d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 5/23/2013 - updated logrotate script based on suggestion by Sebastian Arcus
# and official github documentation.
/var/log/fail2ban.log {
    weekly
    rotate 7
    missingok
    nocompress
    postrotate
	/usr/bin/fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true
    endscript
}