]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tilecache/templates/default/logrotate.squid.erb
Update carto stylesheet to v2.8.0
[chef.git] / cookbooks / tilecache / templates / default / logrotate.squid.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 /var/log/squid/*.log {
4   daily
5   compress
6   rotate 2
7   missingok
8   nocreate
9   sharedscripts
10   postrotate
11     test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
12     /usr/bin/rsync /var/log/squid/zere.log.2.gz ironbelly::logs/tile.openstreetmap.org/<%= node[:hostname] %>-`date -d "-2 days" +%Y-%m-%d`.gz
13   endscript
14 }