nominatim: run git update in source directory
[chef.git] / cookbooks / nominatim / recipes / base.rb
index 97cf576c6f4050e3070b5c6b5b9948eb22603441..242ada30d08beee1c67670738f34733893bbe582 100644 (file)
@@ -195,6 +195,11 @@ template "#{source_directory}/utils/nominatim-update" do
   user "nominatim"
   group "nominatim"
   mode 0o755
+  variables :bindir => source_directory,
+            :srcdir => 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