[Mongrel] Mongrel_rails restart and sudo

Tom Brice tom at onidle.com
Fri Jun 16 17:20:15 EDT 2006


On 6/16/06 11:20 AM, Neil Wilson  wrote:

> To do what you want do this
> 
> sudo <<-CMD
>   sh -c "cd #{current_path} && mongrel_rails start"
> CMD

Thanks.  This still has the same problem with sudo not applying to the
mongrel_rails start command that mongrel_rails restart sends after sending
the USR2 signal.

I'm having other difficulties with Apache and file uploads.  I'm gonna try
mongrel_cluster to see how that works.

Thanks to everyone for the suggestions.  At least I learned something!

Tom




More information about the Mongrel-users mailing list