]> git.openstreetmap.org Git - chef.git/commitdiff
Make update-lowzoom take priority over render-lowzoom
authorTom Hughes <tom@compton.nu>
Mon, 14 Nov 2022 19:25:29 +0000 (19:25 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2022 19:26:04 +0000 (19:26 +0000)
cookbooks/tile/recipes/default.rb

index 19d266f5019155179012f64d91a3ceb1e0b8293d..b62c89d1dccaa655ddf4725f3b773bf831e05f6e 100644 (file)
@@ -275,8 +275,8 @@ nodejs_package "carto"
 
 systemd_service "update-lowzoom@" do
   description "Low zoom tile update service for %i layer"
-  conflicts "render-lowzoom.service"
   user "tile"
+  exec_start_pre "+/bin/systemctl stop render-lowzoom.service"
   exec_start "/bin/bash /usr/local/bin/update-lowzoom-%i"
   runtime_directory "update-lowzoom-%i"
   private_tmp true