]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/update-lowzoom.init.erb
Improve low zoom rerender script
[chef.git] / cookbooks / tile / templates / default / update-lowzoom.init.erb
similarity index 51%
rename from cookbooks/tile/templates/default/render-lowzoom.init.erb
rename to cookbooks/tile/templates/default/update-lowzoom.init.erb
index 986ce880ab6fbe3ca3cb0ed890e772ab6d2f1023..3439f09b6d5c792262380559c464e89af8f75ba2 100644 (file)
@@ -3,11 +3,11 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 start() {
-  start-stop-daemon --start --chuid tile --background --make-pidfile -pidfile /var/run/render-lowzoom.pid --exec /usr/local/bin/render-lowzoom
+  start-stop-daemon --start --chuid tile --background --make-pidfile -pidfile /var/run/update-lowzoom-<%= @style %>.pid --exec /usr/local/bin/update-lowzoom-<%= @style %>
 }
 
 stop() {
-  start-stop-daemon --stop --retry 300 --pidfile /var/run/render-lowzoom.pid --exec /usr/local/bin/render-lowzoom
+  start-stop-daemon --stop --retry 300 --pidfile /var/run/update-lowzoom-<%= @style %>.pid --exec /usr/local/bin/update-lowzoom-<%= @style %>
 }
 
 case "$1" in