projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dece06b
)
Ensure nginx is running
author
Tom Hughes
<tom@compton.nu>
Wed, 9 Nov 2016 08:55:42 +0000
(08:55 +0000)
committer
Tom Hughes
<tom@compton.nu>
Wed, 9 Nov 2016 08:55:42 +0000
(08:55 +0000)
cookbooks/nginx/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/nginx/recipes/default.rb
b/cookbooks/nginx/recipes/default.rb
index 307c4c03c3cb377f4798d6b47df48457bed43fb3..0dbc7a730639a6fee7882265a3bf458d9d7f7aae 100644
(file)
--- 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