diff options
author | Dave <davama@gmail.com> | 2018-03-29 15:39:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 15:39:08 -0400 |
commit | 2506abfc0e21686e53e0ae5178cd4db2cba2a8ab (patch) | |
tree | eae20fa345e304ddb500e9ffcf876db36e1cccdd | |
parent | 332066101ef4a089e427509dc00e206b1eeab41a (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.logrotate | 7 |
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 +} |