diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:39:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:39:49 +0000 |
commit | a0aa2307322cd47bbf416810ac0292925e03be87 (patch) | |
tree | 37076262a026c4b48c8a0e84f44ff9187556ca35 /etc/suricata.logrotate.in | |
parent | Initial commit. (diff) | |
download | suricata-a0aa2307322cd47bbf416810ac0292925e03be87.tar.xz suricata-a0aa2307322cd47bbf416810ac0292925e03be87.zip |
Adding upstream version 1:7.0.3.upstream/1%7.0.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'etc/suricata.logrotate.in')
-rw-r--r-- | etc/suricata.logrotate.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/suricata.logrotate.in b/etc/suricata.logrotate.in new file mode 100644 index 0000000..c5e9ef1 --- /dev/null +++ b/etc/suricata.logrotate.in @@ -0,0 +1,13 @@ +# Sample /etc/logrotate.d/suricata configuration file. +@e_logdir@*.log @e_logdir@*.json { + daily + missingok + rotate 5 + compress + delaycompress + minsize 500k + sharedscripts + postrotate + /bin/kill -HUP `cat @e_rundir@suricata.pid 2> /dev/null` 2> /dev/null || true + endscript +} |