Best way to daemonize Java application on Linux
- by SyBer
Hi.
While I found this question being answered here on SW several times, I didn't find a concluding answer what is the best approach.
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.
I so far found 3 different shell methods:
start-stop-daemon
RedHat daemon init.d function
nohup on start / disown after start
What you people are using, and can recommend as the most reliable method?
Thanks.