diff options
Diffstat (limited to 'main/fail2ban/fail2ban.logrotate')
-rw-r--r-- | main/fail2ban/fail2ban.logrotate | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/fail2ban/fail2ban.logrotate b/main/fail2ban/fail2ban.logrotate new file mode 100644 index 0000000000..5d22bd0395 --- /dev/null +++ b/main/fail2ban/fail2ban.logrotate @@ -0,0 +1,9 @@ +/var/log/fail2ban.log { + daily + rotate 7 + missingok + compress + postrotate + /usr/bin/fail2ban-client set logtarget /var/log/fail2ban.log 1>/dev/null || true + endscript +} |