diff options
Diffstat (limited to 'recipes/suricata/suricata/logrotate')
-rw-r--r-- | recipes/suricata/suricata/logrotate | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/suricata/suricata/logrotate b/recipes/suricata/suricata/logrotate new file mode 100644 index 0000000000..dd4bac42f4 --- /dev/null +++ b/recipes/suricata/suricata/logrotate @@ -0,0 +1,12 @@ +/var/log/suricata/*.log /var/log/suricata/*.alert{ + size 32M + missingok + compress + delaycompress + rotate 10 + sharedscripts + postrotate + /etc/init.d/suricata restart + endscript +} + |