On 26/09/10 08:30, Claudio Poli wrote:
> my bad, just found out about :on_error => :continue

Using ":on_error => :continue" is generally a *bad* idea - you usually
want to stop if the deploy encounters any problems. As Lee has said, you
should use bash scripting to check that service is running before
executing the stop.

Does bluepill have a status command, ie. something that exits 0 if the
service is running? If so, you would use something like:

  bluepill status && bluepill stop

R.
-- 
"Feed that ego and you starve the soul" - Colonel J.D. Wilkes
http://www.theshackshakers.com/

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to