]> git.openstreetmap.org Git - chef.git/commitdiff
nginx: do not immediately start nginx
authorGrant Slater <git@firefishy.com>
Mon, 2 Jan 2017 21:57:10 +0000 (21:57 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 2 Jan 2017 21:57:10 +0000 (21:57 +0000)
cookbooks/nginx/recipes/default.rb

index 0dbc7a730639a6fee7882265a3bf458d9d7f7aae..307c4c03c3cb377f4798d6b47df48457bed43fb3 100644 (file)
@@ -43,7 +43,7 @@ directory "/var/cache/nginx/proxy-cache" do
 end
 
 service "nginx" do
-  action [:enable, :start]
+  action [:enable]
   supports :status => true, :restart => true, :reload => true
   subscribes :restart, "template[/etc/nginx/nginx.conf]"
 end