summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Marichez <falco@gentoo.org>2007-09-25 13:17:17 +0000
committerRaphaël Marichez <falco@gentoo.org>2007-09-25 13:17:17 +0000
commitdfe27aef0185cab22b18cbd694c8ef97569626fd (patch)
tree4dd86a0d0101b1957a1ea07053ad39e874c42e83 /net-analyzer/fail2ban/files
parentfixed ChangeLog headers (diff)
downloadgentoo-2-dfe27aef0185cab22b18cbd694c8ef97569626fd.tar.gz
gentoo-2-dfe27aef0185cab22b18cbd694c8ef97569626fd.tar.bz2
gentoo-2-dfe27aef0185cab22b18cbd694c8ef97569626fd.zip
Add logrotate script file as from upstream documentation (bug 193745)
(Portage version: 2.1.2.12)
Diffstat (limited to 'net-analyzer/fail2ban/files')
-rw-r--r--net-analyzer/fail2ban/files/fail2ban-logrotate9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-analyzer/fail2ban/files/fail2ban-logrotate b/net-analyzer/fail2ban/files/fail2ban-logrotate
new file mode 100644
index 000000000000..a3e60e6acc6d
--- /dev/null
+++ b/net-analyzer/fail2ban/files/fail2ban-logrotate
@@ -0,0 +1,9 @@
+/var/log/fail2ban.log {
+ daily
+ rotate 7
+ missingok
+ compress
+ postrotate
+ /usr/local/bin/fail2ban-client reload 1>/dev/null || true
+ endscript
+}