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 0dbc7a7..307c4c0 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