about summary refs log tree commit diff stats
path: root/tools/conf/etc/logrotate.d/fail2ban
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2017-09-03 11:09:44 +0100
committerSilvino Silva <silvino@bk.ru>2017-09-03 11:09:44 +0100
commit0201cd199cbf5c60182881f4cdb4a6a9bf3e9b8c (patch)
tree4670f4e3c01e79175f37bdaa57bf37f41131dc9c /tools/conf/etc/logrotate.d/fail2ban
parent46329d66252eb37e731f670705f6085db74a93f7 (diff)
downloaddoc-0201cd199cbf5c60182881f4cdb4a6a9bf3e9b8c.tar.gz
added logrotate configuration
Diffstat (limited to 'tools/conf/etc/logrotate.d/fail2ban')
-rw-r--r--tools/conf/etc/logrotate.d/fail2ban5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/conf/etc/logrotate.d/fail2ban b/tools/conf/etc/logrotate.d/fail2ban
new file mode 100644
index 0000000..c2dc4cd
--- /dev/null
+++ b/tools/conf/etc/logrotate.d/fail2ban
@@ -0,0 +1,5 @@
+/var/log/fail2ban.log {
+    weekly
+    create 0644 root root
+    rotate 5
+ }