instructions
This commit is contained in:
11
fail2ban-master/files/fail2ban-logrotate
Normal file
11
fail2ban-master/files/fail2ban-logrotate
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Debian:
|
||||
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
|
||||
|
||||
/var/log/fail2ban.log {
|
||||
missingok
|
||||
notifempty
|
||||
postrotate
|
||||
/usr/bin/fail2ban-client flushlogs >/dev/null || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user