From: Sarah Hoffmann Date: Sat, 18 Aug 2018 07:16:44 +0000 (+0200) Subject: disable nominatim in apache when importing X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d61f510cb4d8a4ae9f27268f8832c3c852983aca?ds=inline disable nominatim in apache when importing --- diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 43982b751..5d73390fc 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -356,6 +356,7 @@ apache_site "nominatim.openstreetmap.org" do template "apache.erb" directory build_directory variables :pools => node[:nominatim][:fpm_pools] + only_if { node[:nominatim][:state] != "off" } end apache_site "default" do