Skip to content

Commit

Permalink
net-analyzer/suricata: fixed logrotate file
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
Slawomir Lis committed Jan 9, 2017
1 parent 0eab6ff commit 0ec42d4
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions net-analyzer/suricata/files/suricata-logrotate
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
--- /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
}
/var/log/suricata/*.log /var/log/suricata/*.json {
rotate 3
missingok
nocompress
create
sharedscripts
postrotate
/etc/init.d/suricata relog
endscript
}

0 comments on commit 0ec42d4

Please sign in to comment.