# Stop WEBrick?

**URL:** <https://www.ruby-forum.com/t/stop-webrick/88264>\
**Category:** Rails\
**Created:** [March 9, 2007, 8:58am UTC](https://www.ruby-forum.com/t/stop-webrick/88264 "2007-03-09T08:58:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e95f7d/32.png) [@robert](https://www.ruby-forum.com/u/robert)\
**Post date:** [March 9, 2007, 8:58am UTC](https://www.ruby-forum.com/t/stop-webrick/88264/1 "2007-03-09T08:58:15Z")

</div>

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?

Robert

---

<div class="post-metadata">

**Author:** ![robert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e95f7d/32.png) [@robert](https://www.ruby-forum.com/u/robert)\
**Post date:** [March 9, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/stop-webrick/88264/2 "2007-03-09T16:30:39Z")

</div>

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.

Craig
