Change logrotate compress to delaycompress

As per https://github.com/fluent/fluentd/issues/780#issuecomment-178065328
This commit is contained in:
Jasmine Hegman 2017-06-29 17:25:46 -07:00 committed by GitHub
parent a67ab0bc71
commit 61f72a63c5
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func (b *LogrotateBuilder) addLogRotate(c *fi.ModelBuilderContext, name, path st
" copytruncate",
" missingok",
" notifempty",
" compress",
" delaycompress",
" maxsize " + options.MaxSize,
" daily",
" create 0644 root root",