You can define a separator and then handle the parameter. In example:

kill =xx-2bc,xx-3cd,xx-4de


Then in your deploy file something like this:

task_list = kill.split(",")


Regards

2012/4/17 shrinath_m2 <[email protected]>

> Hi,
>
> I have few binaries, like so:  xx-1ab, xx-2bc, xx-3cd, xx-4de
> I have written a task to kill the binaries using pkill. For that, the cap
> command I used is something like:
>
> cap -S kill=xx-2bc kill-bin
>
> This is ok if I want to restart only 1 specific binary. How do I do if I
> want to restart 2 binaries?
> I am looking for something in lines of
>
> cap -S kill=xx-2bc, xx-3cd kill-bin
>
> How to make such things happen?
> ps: if you know a better approach, let me know...
>
> Regards,
> shrinath_m2
>
> --
> * 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

-- 
* 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