You're welcome :) 2012/4/23 Shrinath M <[email protected]>
> Ah... I feel like a fool for not thinking something that simple... Great > solution... Thanks... > > Regards, > Shrinath M > On Apr 23, 2012 12:51 AM, "Rafa García" <[email protected]> wrote: > >> 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 > > -- > * 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
