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