Best way to daemonize Java application on Linux
Posted
by SyBer
on Stack Overflow
See other posts from Stack Overflow
or by SyBer
Published on 2010-04-27T20:14:27Z
Indexed on
2010/04/27
20:33 UTC
Read the original article
Hit count: 245
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.
© Stack Overflow or respective owner