summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave <davama@gmail.com>2018-03-29 15:39:08 -0400
committerGitHub <noreply@github.com>2018-03-29 15:39:08 -0400
commit2506abfc0e21686e53e0ae5178cd4db2cba2a8ab (patch)
treeeae20fa345e304ddb500e9ffcf876db36e1cccdd
parent332066101ef4a089e427509dc00e206b1eeab41a (diff)
Add logrotate file
Assuming `log:` is set to: > log: /var/log/oxidized/<something>.log /var/log/oxidized will need to be owned by the user running oxidized
-rw-r--r--extra/oxidized.logrotate7
1 files changed, 7 insertions, 0 deletions
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
+}