diff --git a/unprocessed/logrotate/logrotate.conf b/templates/logrotate/logrotate.conf.gotmpl similarity index 52% rename from unprocessed/logrotate/logrotate.conf rename to templates/logrotate/logrotate.conf.gotmpl index 61967c2..89d39c0 100644 --- a/unprocessed/logrotate/logrotate.conf +++ b/templates/logrotate/logrotate.conf.gotmpl @@ -1,6 +1,6 @@ -${LOG_HOME}/*.log ${LOG_HOME}/nvim/*.log { +{{ env "LOG_HOME" | printf "%s/*.log" }} { rotate 3 - size 10M + size 3M nocompress notifempty copytruncate