From 0b97fb8b6b20e11766774e509a91fb67837d5157 Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Wed, 3 Aug 2022 22:07:05 -0700 Subject: [PATCH 1/1] Produce app info files with tilelog --- cookbooks/tilelog/templates/default/tilelog.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" -- 2.39.5