title: How to stop a Daemon Server in Rails?
body: <p>I am  running my rails application using the following </p>
  
  <pre><code>  $script/server -d webrick 
  </code></pre>
  
  <p>on my Ubuntu system  , above command run the webrick server in background .  I could kill the process using  kill command  </p>
  
  <pre><code>  $kill pid
  </code></pre>
  
  <p>Does rails provide any command to stop the background running daemon server ?</p>
  
  <p>like the one provided by rails to start the server , Thanks .</p>
  
  <p><strong>EDIT</strong> When it is appropriate to start the daemon server ?  Any real time scenario will help Thanks </p>