Permalink
Browse files

make restart action synchronous

  • Loading branch information...
1 parent 29ff505 commit 06cd543e4cc72a1e54dee639d6d09f3c9079a6b8 @xdg xdg committed Mar 15, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 cookbooks/carton/providers/app.rb
View
5 cookbooks/carton/providers/app.rb
@@ -104,9 +104,8 @@
end
action :restart do
- runit_service new_resource.name do
- action :restart
- end
+ r = runit_service new_resource.name
+ r.run_action(:restart)
end
# :enable :disable :nothing :start :stop :restart :reload}

0 comments on commit 06cd543

Please sign in to comment.