]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - fail2ban/fail2ban.logrotate
Move all packages to root.
[people/ms/ipfire-3.x.git] / fail2ban / fail2ban.logrotate
diff --git a/fail2ban/fail2ban.logrotate b/fail2ban/fail2ban.logrotate
new file mode 100644 (file)
index 0000000..4d7a6c9
--- /dev/null
@@ -0,0 +1,9 @@
+/var/log/fail2ban.log {
+    missingok
+    notifempty
+    size 30k
+    create 0600 root root
+    postrotate
+        /usr/bin/fail2ban-client set logtarget SYSLOG 2> /dev/null || true
+    endscript
+}