From: Tom Hughes Date: Sat, 3 Jul 2021 16:27:04 +0000 (+0100) Subject: Cleanup temporary directory X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d00a68c60e8fa644119a3a9d0b8db20b6f64ef94 Cleanup temporary directory --- diff --git a/cookbooks/tilelog/templates/default/tilelog.erb b/cookbooks/tilelog/templates/default/tilelog.erb index 9294f82d6..7e2e23fd7 100644 --- a/cookbooks/tilelog/templates/default/tilelog.erb +++ b/cookbooks/tilelog/templates/default/tilelog.erb @@ -15,3 +15,5 @@ export AWS_SECRET_ACCESS_KEY="<%= @aws_key %>" export AWS_REGION="eu-west-1" nice -n 19 /opt/tilelog/bin/tilelog --date ${DATE} && mv tiles-${DATE}.txt.xz "${OUTDIR}" + +rm -rf $TMPDIR