Thanks James for your help. Strangely the ps command was returning the
process id when I ran it directly on the server, it just wasn't
working via capistrano. However, adding in the -ef to my deploy script
did the trick, even if ps -ef doesn't work directly on the server!
wierd, but it appears to work.

Thanks again.
Paul.

On Aug 15, 1:57 am, James Downs <[EMAIL PROTECTED]> wrote:
> On Aug 14, 2007, at 1:03 AM, Paul Sturgess wrote:

> >   run "kill `ps | grep #{mongrel_port} | egrep -v grep | awk '{print
> > $2}'`"
>
> This ps command will not list all of the processes you need.  You
> probably want "ps -ax" or "ps -ef", depending on the system flavour.
> Your ps|grep chain is returning no processes, which is why kill is
> choking.


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to