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

14 lines
337 B
Diff

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