X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7872bc095f31ee97d926d654ac05f710e77b9135..bfe36fa8bbf3d72b406d356c985bfe2d5ab993ca:/cookbooks/nginx/recipes/default.rb?ds=inline diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 0dbc7a730..0c97546bd 100644 --- a/cookbooks/nginx/recipes/default.rb +++ b/cookbooks/nginx/recipes/default.rb @@ -43,7 +43,7 @@ directory "/var/cache/nginx/proxy-cache" do end service "nginx" do - action [:enable, :start] + 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]" end