Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

make restart action synchronous

  • Loading branch information...
commit 06cd543e4cc72a1e54dee639d6d09f3c9079a6b8 1 parent 29ff505
David Golden authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 3 cookbooks/carton/providers/app.rb
5 cookbooks/carton/providers/app.rb
@@ -104,9 +104,8 @@
104 104 end
105 105
106 106 action :restart do
107   - runit_service new_resource.name do
108   - action :restart
109   - end
  107 + r = runit_service new_resource.name
  108 + r.run_action(:restart)
110 109 end
111 110
112 111 # :enable :disable :nothing :start :stop :restart :reload}

0 comments on commit 06cd543

Please sign in to comment.
Something went wrong with that request. Please try again.