From 7872bc095f31ee97d926d654ac05f710e77b9135 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 9 Nov 2016 08:55:42 +0000 Subject: [PATCH] Ensure nginx is running --- cookbooks/nginx/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2