On 12/13/06, Gregory Brown <gregory.t.brown / gmail.com> wrote:
> On 12/13/06, Ashley Moran <work / ashleymoran.me.uk> wrote:
>
> > The skeleton of the code is below.  I've noticed there is a
> > WEBrick::Daemon class but I can't figure out how to use it.  I've
> > tried using script/server from Rails as a template but it's pretty
> > complex.  Can anyone offer some hints?
>
> *blows dust off of gambit*
>
> We just pass a become_daemon flag in our subclass of
> Webrick::HTTPServer, and then use this to determine whether or not to
> start the Daemon.  There is some extra stuff in there, but I figured
> it'd be useful to see it in context.

Here is the whole server, btw. http://tinyurl.com/yjet4l

Note, bug JEG2 if you have questions, aside from light debugging, I've
only worked with the gambit server externally.