From 8d373c2d190cd5e6b0f9750b9232a8f6bb0020d8 Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Sun, 28 Sep 2014 16:12:46 +0700 Subject: network/fail2ban: Updated for version 0.9.0. Signed-off-by: Willy Sudiarto Raharjo --- network/fail2ban/fail2ban.logrotate | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'network/fail2ban/fail2ban.logrotate') diff --git a/network/fail2ban/fail2ban.logrotate b/network/fail2ban/fail2ban.logrotate index 8af60998873d6..4521d28aeb56f 100644 --- a/network/fail2ban/fail2ban.logrotate +++ b/network/fail2ban/fail2ban.logrotate @@ -1,11 +1,12 @@ # 5/23/2013 - updated logrotate script based on suggestion by Sebastian Arcus # and official github documentation. +# 09/25/2014 - updated logrotate script for version 0.9.0 /var/log/fail2ban.log { weekly rotate 7 missingok nocompress postrotate - /usr/bin/fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true + /usr/bin/fail2ban-client flushlogs 1>/dev/null || true endscript } -- cgit v1.2.3