diff options
Diffstat (limited to '')
-rw-r--r-- | debian/suricata.logrotate | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/suricata.logrotate b/debian/suricata.logrotate new file mode 100644 index 0000000..e318d1c --- /dev/null +++ b/debian/suricata.logrotate @@ -0,0 +1,12 @@ +/var/log/suricata/*.log +/var/log/suricata/*.json +{ + rotate 14 + missingok + compress + copytruncate + sharedscripts + postrotate + /bin/kill -HUP $(cat /var/run/suricata.pid) + endscript +} |