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:
|
- New Features:
|
||||||
|
|
||||||
- Enhancements:
|
- Enhancements:
|
||||||
|
* Do not rotate empty log files
|
||||||
|
|
||||||
ver. 0.9.3 (2015/08/01) - lets-all-stay-friends
|
ver. 0.9.3 (2015/08/01) - lets-all-stay-friends
|
||||||
----------
|
----------
|
||||||
|
|
|
@ -4,13 +4,11 @@
|
||||||
#
|
#
|
||||||
# Debian:
|
# Debian:
|
||||||
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
|
# 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 {
|
/var/log/fail2ban.log {
|
||||||
rotate 7
|
rotate 7
|
||||||
missingok
|
missingok
|
||||||
|
notifempty
|
||||||
compress
|
compress
|
||||||
postrotate
|
postrotate
|
||||||
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
|
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
|
||||||
|
|
Loading…
Reference in New Issue