]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/clean-db-nominatim.erb
run git checkout before the rest of the nominatim setup
[chef.git] / cookbooks / nominatim / templates / default / clean-db-nominatim.erb
index 42fd9b4d43bb8faf6a33234157a66177559e3e4c..a15ef1e31e91d004630c85a090f7b7f05c180a78 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 -mmin +1440 -print0 | xargs -0r rm
 
 <% end -%>