]> git.openstreetmap.org Git - chef.git/commitdiff
Cleanup temporary directory
authorTom Hughes <tom@compton.nu>
Sat, 3 Jul 2021 16:27:04 +0000 (17:27 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 3 Jul 2021 16:27:04 +0000 (17:27 +0100)
cookbooks/tilelog/templates/default/tilelog.erb

index 9294f82d6f833d13c8d0e52c7d5298e27a60bde8..7e2e23fd7c08181d313621ae9c322e82812f8be8 100644 (file)
@@ -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