2015-10-03 12:45:47 +03:00
|
|
|
--- a/files/fail2ban-logrotate
|
|
|
|
+++ b/files/fail2ban-logrotate
|
2015-12-03 12:35:21 +03:00
|
|
|
@@ -6,10 +6,8 @@
|
|
|
|
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
|
2015-10-03 12:45:47 +03:00
|
|
|
|
|
|
|
/var/log/fail2ban.log {
|
|
|
|
- rotate 7
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
- compress
|
|
|
|
postrotate
|
|
|
|
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
|
2015-12-03 12:35:21 +03:00
|
|
|
endscript
|