]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/recipes/default.rb
nominatim: use correct branch in update script
[chef.git] / cookbooks / nominatim / recipes / default.rb
index 055b87072c771c758bbb1caf290e83a3646502c7..f09918e85cf483bfef9b6ff316d7f4f32929b978 100644 (file)
@@ -242,6 +242,9 @@ template "#{source_directory}/utils/nominatim-update" do
   user "nominatim"
   group "nominatim"
   mode 0o755
+  variables :logfile => "#{node[:nominatim][:logdir]}/update.log",
+            :branch => node[:nominatim][:revision],
+            :update_stop_file => "#{basedir}/status/updates_disabled"
 end
 
 template "/etc/init.d/nominatim-update" do