Overlay/net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch

13 lines
319 B
Diff
Raw Normal View History

2015-10-03 12:45:47 +03:00
--- a/files/fail2ban-logrotate
+++ b/files/fail2ban-logrotate
@@ -9,9 +9,7 @@
# http://pkgs.fedoraproject.org/cgit/fail2ban.git/tree/fail2ban-logrotate
/var/log/fail2ban.log {
- rotate 7
missingok
notifempty
- compress
postrotate
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true