X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/98c36cadeb8c99e8e7b0eef3b3a7cc7a53c6da9d..480d54a8957ad07025a37ecb63181be2a5e6d129:/cookbooks/nginx/recipes/default.rb diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 93aab5690..480937407 100644 --- a/cookbooks/nginx/recipes/default.rb +++ b/cookbooks/nginx/recipes/default.rb @@ -50,7 +50,7 @@ end service "nginx" do action [:enable] # Do not start the service as config may be broken from failed chef run supports :status => true, :restart => true, :reload => true - subscribes :restart, "template[/etc/nginx/nginx.conf]" + subscribes :restart, "template[/etc/nginx/nginx.conf]", :immediately end munin_plugin_conf "nginx" do