From ecb5d5beac1e41d30e47daa6a034c59b33027d12 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 16 Nov 2015 09:08:05 +0100 Subject: [PATCH 1/1] nominatim: temporarily disable cleanup of WAL archive --- cookbooks/nominatim/templates/default/clean-db-nominatim.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/nominatim/templates/default/clean-db-nominatim.erb b/cookbooks/nominatim/templates/default/clean-db-nominatim.erb index a15ef1e31..39297e7fe 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 -mmin +1440 -print0 | xargs -0r rm +#find -L /data/postgresql-archive -mmin +1440 -print0 | xargs -0r rm <% end -%> -- 2.43.2