Recent versions of suricata come with official logrotate configuration
and older versions have since been removed from the tree.
Suggested-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14404
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Marek Szuba <marecki@gentoo.org>
+++ /dev/null
-/var/log/suricata/*.log /var/log/suricata/*.json {
- rotate 3
- missingok
- nocompress
- create
- sharedscripts
- postrotate
- /etc/init.d/suricata relog
- endscript
-}