]> git.openstreetmap.org Git - chef.git/commitdiff
Produce app info files with tilelog
authorPaul Norman <penorman@mac.com>
Thu, 4 Aug 2022 05:07:05 +0000 (22:07 -0700)
committerPaul Norman <penorman@mac.com>
Thu, 4 Aug 2022 05:07:05 +0000 (22:07 -0700)
cookbooks/tilelog/templates/default/tilelog.erb

index 86eea918b5fa9034f804563b90305cf83a267b91..8fa73cee0704d8760bb9c9e5d776d6ead7423da3 100644 (file)
@@ -17,10 +17,11 @@ export AWS_REGION="eu-west-1"
 
 TILEFILE="tiles-${DATE}.txt.xz"
 HOSTFILE="hosts-${DATE}.csv"
+APPFILE="apps-${DATE}.csv"
 
 nice -n 19 /opt/tilelog/bin/tilelog --date "${DATE}" --generate-success \
-  --tile "${TILEFILE}" --host "${HOSTFILE}"
+  --tile "${TILEFILE}" --host "${HOSTFILE}" --app "${APPFILE}"
 
-mv "${TILEFILE}" "${HOSTFILE}" "${OUTDIR}"
+mv "${TILEFILE}" "${HOSTFILE}" "${APPFILE}" "${OUTDIR}"
 
 rm -rf "$TMPDIR"