On 3/20/07, Zed A. Shaw <[EMAIL PROTECTED]> wrote:
> On Tue, 20 Mar 2007 14:53:39 +0100
> "Dimitri Aivaliotis" <[EMAIL PROTECTED]> wrote:
>
> > Alright, solved my problem.  Don't know if it'll help Matt, as well.
> > The key is in the documentation comment for daemonize:
> >
> >     # You must call this *before* frameworks that open files
> >     # as otherwise the files will be closed by this function.
>
> Aha! Classic PEBKAC eh?  :-)

Yep.  Could you change the docs slightly to prevent other idiots like
myself from falling into the same trap?  Something like the following
right after what's quoted above:

# (This includes +listener+ blocks - call daemonize before you set up
your listeners.)


> >
> > Oh, no pid file is created, no matter if I give :pid_file to the
> > Configurator.new call or to the daemonize call as in builder.rb.
>
> Make sure you give a full path for all your files you configure.  If
> not, let me know and I'll check it out.

I am using full paths: :pid_file => "/tmp/test.pid"

What other info can I give you to help debug this?

- Dimitri
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to