Skip to content

Commit

Permalink
make restart action synchronous
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Mar 15, 2012
1 parent 29ff505 commit 06cd543
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cookbooks/carton/providers/app.rb
Expand Up @@ -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.