diff options
Diffstat (limited to 'net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch')
-rw-r--r-- | net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch b/net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch new file mode 100644 index 000000000000..65354a2a025f --- /dev/null +++ b/net-analyzer/fail2ban/files/fail2ban-0.9.2-logrotate.patch @@ -0,0 +1,12 @@ +--- 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 +- compress + postrotate + /usr/bin/fail2ban-client flushlogs 1>/dev/null || true + endscript |