fail2ban/debian/fail2ban.logrotate

18 lines
338 B
Plaintext
Raw Normal View History

2006-11-10 14:59:19 +00:00
/var/log/fail2ban.log {
2006-11-10 14:59:19 +00:00
weekly
rotate 4
compress
delaycompress
2006-11-10 14:59:19 +00:00
missingok
postrotate
fail2ban-client set logtarget /var/log/fail2ban.log >/dev/null
2006-11-10 14:59:19 +00:00
endscript
# 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
}