From 2506abfc0e21686e53e0ae5178cd4db2cba2a8ab Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 29 Mar 2018 15:39:08 -0400 Subject: Add logrotate file Assuming `log:` is set to: > log: /var/log/oxidized/.log /var/log/oxidized will need to be owned by the user running oxidized --- extra/oxidized.logrotate | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 extra/oxidized.logrotate (limited to 'extra/oxidized.logrotate') diff --git a/extra/oxidized.logrotate b/extra/oxidized.logrotate new file mode 100644 index 0000000..8c76dee --- /dev/null +++ b/extra/oxidized.logrotate @@ -0,0 +1,7 @@ +/var/log/oxidized/*.log { + weekly + rotate 3 + size 10M + compress + delaycompress +} -- cgit v1.2.1