summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2016-02-10 18:41:01 -0500
committerYaroslav Halchenko <debian@onerussian.com>2016-02-10 18:41:01 -0500
commit3dc57af19cd446dc968bee21e8c152cf71191cfe (patch)
tree3884a3930a099f8fdd140dd97e20f665a1eca64b
parent09bc2e978d21f1081b68605c4bff87943a18afd2 (diff)
parent869d99dd377ff45efa5796bb3be2500e41f32dc3 (diff)
downloadfail2ban-3dc57af19cd446dc968bee21e8c152cf71191cfe.tar.gz
Merge branch 'logrotate' of https://github.com/sbraz/fail2ban
* 'logrotate' of https://github.com/sbraz/fail2ban: Remove compression and count from logrotate
-rw-r--r--ChangeLog2
-rw-r--r--files/fail2ban-logrotate4
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e128a91a..9932eba6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,6 +31,8 @@ ver. 0.9.4 (2015/XX/XXX) - wanna-be-released
* use `fail2ban_agent` as user-agent in actions badips, blocklist_de, etc (gh-1271)
* Fix ignoring the sender option by action_mw, action_mwl and action_c_mwl
* Changed filter.d/asterisk regex for "Call from ..." (few vulnerable now)
+ * Removed compression and rotation count from logrotate (inherit them from
+ the global logrotate config)
- New Features:
* New interpolation feature for definition config readers - `<known/parameter>`
diff --git a/files/fail2ban-logrotate b/files/fail2ban-logrotate
index 8d94a8b3..13a94537 100644
--- a/files/fail2ban-logrotate
+++ b/files/fail2ban-logrotate
@@ -6,11 +6,9 @@
# 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
+ /usr/bin/fail2ban-client flushlogs >/dev/null || true
endscript
}