aboutsummaryrefslogtreecommitdiffstats
path: root/main/fail2ban/fail2ban.logrotate
blob: f635c3ddde9725f4eee334e788598be0b7cfe72e (plain)
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 set logtarget /var/log/fail2ban.log 1>/dev/null || true
	chown :wheel /var/log/fail2ban.log
	chmod 640 /var/log/fail2ban.log
    endscript
}