From 946f40a1cdc2e1c877c49f841e47e39f7b878af8 Mon Sep 17 00:00:00 2001 From: Mark Stemm Date: Wed, 4 Apr 2018 21:47:09 -0700 Subject: [PATCH] Example logrotate config Example logrotate config that relies on SIGUSR1 to rotate logs. --- examples/logrotate/falco | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/logrotate/falco diff --git a/examples/logrotate/falco b/examples/logrotate/falco new file mode 100644 index 00000000000..13acd0d58e6 --- /dev/null +++ b/examples/logrotate/falco @@ -0,0 +1,7 @@ +/var/log/falco-events.log { + rotate 5 + size 1M + postrotate + /usr/bin/killall -USR1 falco + endscript +} \ No newline at end of file