X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b4145a221ac731b34b1fa16f98955ed8d351f7db..fbdd990ff399d26a11e0dce096e15ef2d8cde521:/cookbooks/nominatim/templates/default/clean-db-nominatim.erb diff --git a/cookbooks/nominatim/templates/default/clean-db-nominatim.erb b/cookbooks/nominatim/templates/default/clean-db-nominatim.erb index 4a40e22d4..a15ef1e31 100644 --- a/cookbooks/nominatim/templates/default/clean-db-nominatim.erb +++ b/cookbooks/nominatim/templates/default/clean-db-nominatim.erb @@ -15,6 +15,6 @@ done <% if node[:postgresql][:settings][:defaults][:archive_mode] == "on" -%> # Cleanup archive directory -find -L /data/postgresql-archive -mtime +3 -print0 | xargs -0r rm +find -L /data/postgresql-archive -mmin +1440 -print0 | xargs -0r rm <% end -%>