aboutsummaryrefslogtreecommitdiff
path: root/network/fail2ban/fail2ban.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'network/fail2ban/fail2ban.logrotate')
-rw-r--r--network/fail2ban/fail2ban.logrotate10
1 files changed, 10 insertions, 0 deletions
diff --git a/network/fail2ban/fail2ban.logrotate b/network/fail2ban/fail2ban.logrotate
new file mode 100644
index 0000000000000..2c973a26de716
--- /dev/null
+++ b/network/fail2ban/fail2ban.logrotate
@@ -0,0 +1,10 @@
+/var/log/fail2ban.log {
+ weekly
+ rotate 4
+ missingok
+ nocompress
+ postrotate
+ /etc/rc.d/rc.fail2ban reload 1> /dev/null || true
+ endscript
+}
+