2006-11-10 14:59:19 +00:00
|
|
|
/var/log/fail2ban.log {
|
2006-11-10 15:54:34 +00:00
|
|
|
|
2006-11-10 14:59:19 +00:00
|
|
|
weekly
|
|
|
|
rotate 4
|
|
|
|
compress
|
2006-11-10 15:54:34 +00:00
|
|
|
|
|
|
|
delaycompress
|
2006-11-10 14:59:19 +00:00
|
|
|
missingok
|
|
|
|
postrotate
|
2009-09-10 15:05:56 +00:00
|
|
|
fail2ban-client set logtarget /var/log/fail2ban.log >/dev/null
|
2006-11-10 14:59:19 +00:00
|
|
|
endscript
|
2012-01-05 23:36:50 +00:00
|
|
|
|
|
|
|
# If fail2ban runs as non-root it still needs to have write access
|
|
|
|
# to logfiles.
|
|
|
|
# create 640 fail2ban adm
|
2006-11-10 14:59:19 +00:00
|
|
|
create 640 root adm
|
|
|
|
}
|