forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-analyzer/suricata: fixed logrotate file
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |