title: Restarting Rails Server
body: <p>I've inherited an existing Rails 2 application and am currently trying to deploy it on production servers.</p>
  
  <p>As a rails/unix novice, what's the best way to find out what webserver the rails application is running on and how can I restart the server. (since from what I've read, rails will cache everything on production servers)</p>
  
  <p>The previous developer used Capistrano, but unfortunately I don't have access to the GIT repository.</p>
  
  <p>I noticed /configuration/deploy.rb has the following lines:</p>
  
  <pre><code>desc "Custom restart task for mongrel cluster"
  task :restart, :roles =&gt; :app, :except =&gt; { :no_release =&gt; true } do
    deploy.mongrel.restart
  end
  
  desc "Custom start task for mongrel cluster"
  task :start, :roles =&gt; :app do
    deploy.mongrel.start
  end
  
  desc "Custom stop task for mongrel cluster"
  task :stop, :roles =&gt; :app do
    deploy.mongrel.stop
  end
  </code></pre>
  
  <p>Does this imply mongrel_rails is being used?  </p>
  
  <p>If so what's the best way to restart the application to pick up my changes?</p>
  
  <p>Many thanks.</p>