From d00a68c60e8fa644119a3a9d0b8db20b6f64ef94 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 3 Jul 2021 17:27:04 +0100 Subject: [PATCH] Cleanup temporary directory --- cookbooks/tilelog/templates/default/tilelog.erb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5