]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/base.rb
nominatim: run updates from build dir
[chef.git] / cookbooks / nominatim / recipes / base.rb
index 97cf576c6f4050e3070b5c6b5b9948eb22603441..9a3252c72e54f63f94255378e99ae4d8f6045f99 100644 (file)
@@ -195,6 +195,10 @@ template "#{source_directory}/utils/nominatim-update" do
   user "nominatim"
   group "nominatim"
   mode 0o755
+  variables :bindir => source_directory,
+            :logfile => "#{node[:nominatim][:logdir]}/update.log",
+            :branch => node[:nominatim][:revision],
+            :update_stop_file => "#{home_directory}/status/updates_disabled"
 end
 
 template "/etc/init.d/nominatim-update" do