aboutsummaryrefslogtreecommitdiffstats
path: root/main/fail2ban/fail2ban.logrotate
blob: 351bc40febbd2af542ceb3bc1c48c17adf980474 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/var/log/fail2ban.log {
    daily
    rotate 7
    missingok
    compress
    postrotate
	/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
	chown :wheel /var/log/fail2ban.log
	chmod 640 /var/log/fail2ban.log
    endscript
}