From: Tom Hughes Date: Wed, 9 Nov 2016 08:55:42 +0000 (+0000) Subject: Ensure nginx is running X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/7872bc095f31ee97d926d654ac05f710e77b9135 Ensure nginx is running --- diff --git a/cookbooks/nginx/recipes/default.rb b/cookbooks/nginx/recipes/default.rb index 307c4c03c..0dbc7a730 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] + action [:enable, :start] supports :status => true, :restart => true, :reload => true subscribes :restart, "template[/etc/nginx/nginx.conf]" end