X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7872bc095f31ee97d926d654ac05f710e77b9135..1952990836d6687ed4030bb95ca5f9e535eaf61f:/cookbooks/nginx/recipes/default.rb 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