Subversion Repositories configs

Rev

Rev 5 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 71
Line 2... Line 2...
2
# Gentoo:
2
# Gentoo:
3
# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-logrotate?view=markup
3
# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-logrotate?view=markup
4
#
4
#
5
# Debian:
5
# Debian:
6
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
6
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
7
#
-
 
8
# Fedora view:
-
 
9
#  http://pkgs.fedoraproject.org/cgit/fail2ban.git/tree/fail2ban-logrotate
-
 
10
 
7
 
11
/var/log/fail2ban.log {
8
/var/log/fail2ban.log {
12
    rotate 7
-
 
13
    missingok
9
    missingok
14
    compress
10
    notifempty
15
    postrotate
11
    postrotate
16
      /usr/bin/fail2ban-client flushlogs  1>/dev/null || true
12
      /usr/bin/fail2ban-client flushlogs >/dev/null || true
17
    endscript
13
    endscript
18
}
14
}