]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilelog/templates/default/tilelog.erb
Change default postgres version for tile servers to 14
[chef.git] / cookbooks / tilelog / templates / default / tilelog.erb
index b833aeb1649b2c064abef8306e2ce1d38cab8b9c..0cb24ce4d75f9260c0059c492e8a1dcbf44a4fed 100644 (file)
@@ -17,10 +17,13 @@ export AWS_REGION="eu-west-1"
 
 TILEFILE="tiles-${DATE}.txt.xz"
 HOSTFILE="hosts-${DATE}.csv"
 
 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"
 
 rm -rf "$TMPDIR"