title: How to run Solr Jetty in background
body: <p>I am using the Jetty/Solr build that comes with Solr and would like to run it in the background instead of in the terminal.</p>
  
  <p>Right now  I start it by <code>java -jar start.jar</code> but I would like it to log to a file and run in the background on the server so that I can close the terminal window.</p>
  
  <p>I'm sure there is some java config that I can't find.</p>
  
  <p>I have tried <code>java -jar start.jar &gt; log.txt &amp;</code> but no luck still outputs to the terminal window.</p>
  
  <p>Thanks.</p>