Tile: restart renderd immediately on style update
authorGrant Slater <git@firefishy.com>
Thu, 25 Jul 2013 14:15:11 +0000 (15:15 +0100)
committerGrant Slater <git@firefishy.com>
Thu, 25 Jul 2013 14:15:11 +0000 (15:15 +0100)
cookbooks/tile/recipes/default.rb

index 837d478a6cfdf962cd7ac0f73f31c8cd1acaad84..8af830cddd73909ffd3d16e90c33ee6f90530533 100644 (file)
@@ -256,7 +256,7 @@ node[:tile][:styles].each do |name,details|
     user "tile"
     group "tile"
     subscribes :run, "git[#{style_directory}]"
-    notifies :restart, "service[renderd]"
+    notifies :restart, "service[renderd]", :immediately
     notifies :restart, "service[update-lowzoom-#{name}]"
   end
 end