]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/vectortile/recipes/default.rb
taginfo: renice rebuild to reduce power usage
[chef.git] / cookbooks / vectortile / recipes / default.rb
index 6fcf2531749ec5f8b2364777d181c67f4e17b126..ad4e5a8ef6c38303f52f8361bfd3f55b99ce4f20 100644 (file)
@@ -99,7 +99,7 @@ end
 python_package "tilekiln" do
   python_virtualenv tilekiln_directory
   python_version "3"
-  version "0.5.1"
+  version "0.6.2"
 end
 
 template "/srv/vector.openstreetmap.org/html/index.html" do
@@ -222,7 +222,7 @@ systemd_service "tilekiln" do
   wants "postgresql.service"
   sandbox :enable_network => true
   restrict_address_families "AF_UNIX"
-  exec_start "#{tilekiln_directory}/bin/tilekiln serve #{tilekiln_mode} --storage-dbname tiles --num-threads #{node[:vectortile][:serve][:threads]}"
+  exec_start "#{tilekiln_directory}/bin/tilekiln serve #{tilekiln_mode} --storage-dbname tiles --num-threads #{node[:vectortile][:serve][:threads]} --base-url 'https://vector.openstreetmap.org'"
 end
 
 service "tilekiln" do