]> git.openstreetmap.org Git - chef.git/blob - cookbooks/taginfo/templates/default/logrotate.erb
Change to the sources directory before running the update
[chef.git] / cookbooks / taginfo / templates / default / logrotate.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2 <% node[:taginfo][:sites].each do |site| -%>
3
4 /var/log/taginfo/<%= site[:name] %>/*.log {
5   daily
6   missingok
7   rotate 0
8   dateext
9   dateformat %Y-%m-%d
10   maxage 28
11   compress
12   delaycompress
13 }
14 <% end -%>