On Thu, 29 Mar 2007 23:36:53 +0200
"Dimitri Aivaliotis" <[EMAIL PROTECTED]> wrote:

> On 3/28/07, Zed A. Shaw <[EMAIL PROTECTED]> wrote:
> 
> > Well, everyone else seems to be getting PID files no problem
> 
> This was my clue here.  It seems that everyone else is using
> mongrel_rails - I'm not.  I'm trying to setup Mongrel::Configurator to
> run just mongrel.  The builder example threw me off because it will
> not generate a pid file, no matter what system I run it on.  I've
> attached a patch that fixes this.  Could you consider applying it?

Ohhhhhh, you didn't say that, from what I read it seemed like you were
running mongrel_rails.  Yes, the builder is out of sync so thanks for
he patch.
 
> The solution is to pass :pid_file to Mongrel::Configurator.new and not
> daemonize, as indicated in the example.  You also need to explicitly
> call write_pid_file because it's not actually called anywhere within
> Mongrel::Configurator itself (looking at mongrel_rails helped here).

I'll put this on in the next release.  Thanks again.

-- 
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
http://www.awprofessional.com/title/0321483502 -- The Mongrel Book
http://mongrel.rubyforge.org/
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to