title: Best way to daemonize Java application on Linux
body: <p>While I found this question being answered here on SW several times, I didn't find a concluding answer what is the best approach.</p>
  
  <p>I'm not looking to use any external wrapper, as I found them launching the java process under a nice level lower then themselves which potentially lowers the performance, so it seems only the shell methods are left.</p>
  
  <p>I so far found 3 different shell methods:</p>
  
  <ul>
  <li>start-stop-daemon</li>
  <li>RedHat daemon init.d function</li>
  <li>nohup on start / disown after start</li>
  </ul>
  
  <p>What you people are using, and can recommend as the most reliable method?</p>
  
  <p>Thanks.</p>