]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/recipes/default.rb
Allow retrying of apache service actions
[chef.git] / cookbooks / apache / recipes / default.rb
index ffa03c34cbfbdae28b2c7649ab6da7281f3bd4b1..925dda5ad250cc6ea8a5dabb9f5166da93a9768c 100644 (file)
@@ -54,6 +54,8 @@ end
 
 service "apache2" do
   action [:enable, :start]
+  retries 2
+  retry_delay 10
   supports :status => true, :restart => true, :reload => true
 end