X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/eaaabb3fe68724393f99f794438eafc0410045ac..7171b94a0526152910353dbf1f07a0ee597976da:/cookbooks/tilelog/templates/default/tilelog.erb diff --git a/cookbooks/tilelog/templates/default/tilelog.erb b/cookbooks/tilelog/templates/default/tilelog.erb index b833aeb16..0cb24ce4d 100644 --- a/cookbooks/tilelog/templates/default/tilelog.erb +++ b/cookbooks/tilelog/templates/default/tilelog.erb @@ -17,10 +17,13 @@ export AWS_REGION="eu-west-1" TILEFILE="tiles-${DATE}.txt.xz" HOSTFILE="hosts-${DATE}.csv" +APPFILE="apps-${DATE}.csv" +COUNTRYFILE="countries-${DATE}.csv" -nice -n 19 /opt/tilelog/bin/tilelog --date "${DATE}" --generate-success \ - --tile "${TILEFILE}" --host "${HOSTFILE}" +nice -n 19 /opt/tilelog/bin/tilelog --date "${DATE}" \ + --generate-success --generate-minimise --generate-location \ + --tile "${TILEFILE}" --host "${HOSTFILE}" --app "${APPFILE}" --country "${COUNTRYFILE}" -mv "${TILEFILE}" "${HOSTFILE}" "${OUTDIR}" +mv "${TILEFILE}" "${HOSTFILE}" "${APPFILE}" "${COUNTRYFILE}" "${OUTDIR}" rm -rf "$TMPDIR"