title: daemon for solr
body: <p>I would like to run solr with daemon.  I saw in another post there is a init.d script you can run but it seems to have problems in my ubuntu environment.  whenever i try to run the script with /etc/init.d/solr start or when i try to run the below line manually:</p>
  
  <pre><code>daemon java -jar start.jar 
  </code></pre>
  
  <p>it errors:</p>
  
  <pre><code>daemon: invalid option -- 'j'
  </code></pre>
  
  <p>Any ideas?  thx.</p>