diff --git a/templates/logrotate/containers_logrotate.conf.erb b/templates/logrotate/containers_logrotate.conf.erb index d5a786700..624318b86 100644 --- a/templates/logrotate/containers_logrotate.conf.erb +++ b/templates/logrotate/containers_logrotate.conf.erb @@ -9,25 +9,25 @@ # required for GDPR compliance. maxsize <%= @maxsize %> missingok -<%- if @notifempty %> +<%- if @notifempty -%> notifempty -<%- end %> -<%- if @copytruncate %> +<%- end -%> +<%- if @copytruncate -%> copytruncate -<%- end %> -<%- if @delaycompress %> +<%- end -%> +<%- if @delaycompress -%> delaycompress -<%- end %> -<%- if @compress %> +<%- end -%> +<%- if @compress -%> compress -<%- end %> -<%- if @dateext %> +<%- end -%> +<%- if @dateext -%> dateext -<%- if @dateformat %> +<%- if @dateformat -%> dateformat <%= @dateformat %> -<%- end %> -<%- if @dateyesterday %> +<%- end -%> +<%- if @dateyesterday -%> dateyesterday -<%- end %> -<%- end %> +<%- end -%> +<%- end -%> }