]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/templates/default/update-planet.erb
Fix typo
[chef.git] / cookbooks / taginfo / templates / default / update-planet.erb
index a728ac1bfd7aed70322a10d2b38f35153697b56d..76b7af27364d063a1fd3fc3f9aaac35badf768ea 100644 (file)
@@ -37,3 +37,7 @@ osmosis --read-xml-change "$OSCFILE" --read-bin "$PLANETOLD" --buffer bufferCapa
 
 mv "$PLANETNEW" "$PLANETOLD"
 rm "$OSCFILE"
+
+# expire old logs
+
+find "${LOGDIR}" -mtime +28 -delete