]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilelog/templates/default/tilelog.erb
Cleanup temporary directory
[chef.git] / 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