Skip to content

Commit

Permalink
Example logrotate config
Browse files Browse the repository at this point in the history
Example logrotate config that relies on SIGUSR1 to rotate logs.
  • Loading branch information
mstemm committed Apr 5, 2018
1 parent b4faee2 commit 946f40a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/logrotate/falco
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/var/log/falco-events.log {
rotate 5
size 1M
postrotate
/usr/bin/killall -USR1 falco
endscript
}

0 comments on commit 946f40a

Please sign in to comment.