]> git.openstreetmap.org Git - chef.git/commitdiff
Ensure nginx is running
authorTom Hughes <tom@compton.nu>
Wed, 9 Nov 2016 08:55:42 +0000 (08:55 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 9 Nov 2016 08:55:42 +0000 (08:55 +0000)
cookbooks/nginx/recipes/default.rb

index 307c4c03c3cb377f4798d6b47df48457bed43fb3..0dbc7a730639a6fee7882265a3bf458d9d7f7aae 100644 (file)
@@ -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