X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d99bcca7c473dc4d4b19b3b64020d28b00030044..6b9e98d43ec1d75ecb5dfc9451b165ea18d3f22f:/cookbooks/tilecache/templates/default/tilecache-curl-time.erb diff --git a/cookbooks/tilecache/templates/default/tilecache-curl-time.erb b/cookbooks/tilecache/templates/default/tilecache-curl-time.erb index fc401bd99..ca04c54ee 100644 --- a/cookbooks/tilecache/templates/default/tilecache-curl-time.erb +++ b/cookbooks/tilecache/templates/default/tilecache-curl-time.erb @@ -14,7 +14,7 @@ mkdir -p /srv/tilecache/data/$(date --utc "+%Y/%m") -H 'sec-fetch-mode: no-cors' \ -H 'referer: https://www.openstreetmap.org/' \ -H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \ - --compressed | tee -a /srv/tilecache/data/$(date --utc "+%Y/%m")/tilecache-<%= render[:hostname] %>-$(date --utc --iso-8601).txt + --compressed | tee -a /srv/tilecache/data/$(date --utc "+%Y/%m")/tilecache-<%= cache[:hostname] %>-$(date --utc --iso-8601).txt <% end -%> <% end -%> <% end -%>