[packages/fail2ban] - update from tarball/files/fail2ban-logrotate

arekm arekm at pld-linux.org
Mon Dec 1 13:50:10 CET 2014


commit 132c42de6d1b504e642e759b1a07b363895d4cda
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Dec 1 13:50:01 2014 +0100

    - update from tarball/files/fail2ban-logrotate

 fail2ban.logrotate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fail2ban.logrotate b/fail2ban.logrotate
index 65f78c9..5b01925 100644
--- a/fail2ban.logrotate
+++ b/fail2ban.logrotate
@@ -3,6 +3,6 @@
 	notifempty
 	create 640 root logs
 	postrotate
-		/usr/bin/fail2ban-client set logtarget /var/log/fail2ban.log 2>/dev/null || true
+		/usr/bin/fail2ban-client flushlogs /var/log/fail2ban.log >/dev/null || true
 	endscript
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fail2ban.git/commitdiff/132c42de6d1b504e642e759b1a07b363895d4cda



More information about the pld-cvs-commit mailing list