X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5524a5f2a12c63acc122269b928cf28a4b0ce211..523cc1f7b407269fd07c86fc4ab5f6c8c3f7230f:/cookbooks/tilecache/templates/default/logrotate.squid.erb diff --git a/cookbooks/tilecache/templates/default/logrotate.squid.erb b/cookbooks/tilecache/templates/default/logrotate.squid.erb index 2112b85cd..0c45dcab0 100644 --- a/cookbooks/tilecache/templates/default/logrotate.squid.erb +++ b/cookbooks/tilecache/templates/default/logrotate.squid.erb @@ -14,6 +14,6 @@ test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate endscript lastaction - /usr/bin/rsync --preallocate /var/log/squid/zere.log.1.xz ironbelly::logs/tile.openstreetmap.org/<%= node[:hostname] %>-`date -d "-1 days" +%Y-%m-%d`.xz || true + /usr/bin/rsync --preallocate /var/log/squid/access.log.1.xz ironbelly::logs/tile.openstreetmap.org/<%= node[:hostname] %>-`date -d "-1 days" +%Y-%m-%d`.xz || true endscript }