mirror of https://github.com/fail2ban/fail2ban
commit
bfa286b8e4
|
@ -18,6 +18,7 @@ ver. 0.9.4 (2015/XX/XXX) - wanna-be-released
|
|||
- New Features:
|
||||
|
||||
- Enhancements:
|
||||
* Do not rotate empty log files
|
||||
|
||||
ver. 0.9.3 (2015/08/01) - lets-all-stay-friends
|
||||
----------
|
||||
|
|
|
@ -4,13 +4,11 @@
|
|||
#
|
||||
# Debian:
|
||||
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
|
||||
#
|
||||
# Fedora view:
|
||||
# http://pkgs.fedoraproject.org/cgit/fail2ban.git/tree/fail2ban-logrotate
|
||||
|
||||
/var/log/fail2ban.log {
|
||||
rotate 7
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
postrotate
|
||||
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
|
||||
|
|
Loading…
Reference in New Issue