From: Paul Norman Date: Thu, 4 Aug 2022 05:07:05 +0000 (-0700) Subject: Produce app info files with tilelog X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/0b97fb8b6b20e11766774e509a91fb67837d5157?hp=f766e0e013b2b7359fd6666eb6228a054f5dc36d Produce app info files with tilelog --- diff --git a/cookbooks/tilelog/templates/default/tilelog.erb b/cookbooks/tilelog/templates/default/tilelog.erb index 86eea918b..8fa73cee0 100644 --- a/cookbooks/tilelog/templates/default/tilelog.erb +++ b/cookbooks/tilelog/templates/default/tilelog.erb @@ -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"