Stop WEBrick?

I’m launching a WEBrick daemon (linux) from a script. Think I can find
enough in the documentation and rails code to do what I need.

But, once started, I haven’t found any mention of how to stop it.

Make myself clearer - Currently WEBrick is lauched by calling Ruby on
Rail’s ‘command/script’. Will soon be customised. I want to then stop
the WEBrick daemon by scripting (CNTRL-C is not the way - that
requires user intervention).

Any clues?


On Thu, 2007-03-08 at 23:57 -0800, robert wrote:

Any clues?

webrick isn’t suitable for production mode which sounds like what you
are trying to do.