nominatim: reduce archive time even more
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 21 Jun 2015 19:40:48 +0000 (21:40 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 21 Jun 2015 19:40:48 +0000 (21:40 +0200)
cookbooks/nominatim/templates/default/clean-db-nominatim.erb

index 42fd9b4d43bb8faf6a33234157a66177559e3e4c..55c2314be9d48ab3ffd492562b21969ff57def58 100644 (file)
@@ -15,6 +15,6 @@ done
 <% if node[:postgresql][:settings][:defaults][:archive_mode] == "on" -%>
 
 # Cleanup archive directory
-find -L /data/postgresql-archive -mtime +2 -print0 | xargs -0r rm
+find -L /data/postgresql-archive -mtime +1 -print0 | xargs -0r rm
 
 <% end -%>