summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2016-12-30 08:53:42 +0100
committerSlawomir Lis <slis@gentoo.org>2016-12-30 08:53:42 +0100
commit4b0a9ae167be4dc0cc9db385c84fd705a1b64301 (patch)
tree5f9c0606078289d089e436dba127c44a7b099c85 /net-analyzer
parentgames-arcade/tuxdash: Fix building with GCC 6 (diff)
downloadgentoo-4b0a9ae167be4dc0cc9db385c84fd705a1b64301.tar.gz
gentoo-4b0a9ae167be4dc0cc9db385c84fd705a1b64301.tar.bz2
gentoo-4b0a9ae167be4dc0cc9db385c84fd705a1b64301.zip
net-analyzer/suricata: updated logrotate config file
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/suricata/files/suricata-logrotate21
1 files changed, 15 insertions, 6 deletions
diff --git a/net-analyzer/suricata/files/suricata-logrotate b/net-analyzer/suricata/files/suricata-logrotate
index 0dc145ba4162..a8edcc61329d 100644
--- a/net-analyzer/suricata/files/suricata-logrotate
+++ b/net-analyzer/suricata/files/suricata-logrotate
@@ -1,6 +1,15 @@
-/var/log/suricata/* {
- missingok
- postrotate
- /etc/init.d/suricata reload
- endscript
-}
+--- /usr/portage/net-analyzer/suricata/files/suricata-logrotate 2016-12-28 10:34:11.000000000 +0100
++++ /usr/local/portage/net-analyzer/suricata/files/suricata-logrotate 2016-12-29 08:59:51.390256659 +0100
+@@ -1,6 +1,10 @@
+-/var/log/suricata/* {
++/var/log/suricata/*.log /var/log/suricata/*.json {
++ rotate 3
+ missingok
++ nocompress
++ create
++ sharedscripts
+ postrotate
+- /etc/init.d/suricata reload
++ /etc/init.d/suricata relog
+ endscript
+ }