aboutsummaryrefslogtreecommitdiffstats
path: root/testing/suricata/suricata.logrotate
diff options
context:
space:
mode:
authorSteve McMaster <code@mcmaster.io>2016-12-18 02:01:52 -0500
committerTimo Teräs <timo.teras@iki.fi>2016-12-26 09:33:57 +0000
commit90cc7e47f3f2679acc74399af0531db1d2e1eca7 (patch)
treed8c2f6960824335c85cd1d5e19f06a6ee128ca99 /testing/suricata/suricata.logrotate
parentdaf10c638df0935988e1eb4d1773452b91d14e63 (diff)
testing/suricata: new aport
https://suricata-ids.org/ High performance Network IDS, IPS and Network Security Monitoring engine
Diffstat (limited to 'testing/suricata/suricata.logrotate')
-rw-r--r--testing/suricata/suricata.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/suricata/suricata.logrotate b/testing/suricata/suricata.logrotate
new file mode 100644
index 00000000000..94622f38c12
--- /dev/null
+++ b/testing/suricata/suricata.logrotate
@@ -0,0 +1,11 @@
+/var/log/suricata/*.log /var/log/suricata/*.json
+{
+ rotate 3
+ missingok
+ nocompress
+ create
+ sharedscripts
+ postrotate
+ /bin/kill -HUP $(cat /var/run/suricata.pid)
+ endscript
+}