While I found that this question was answered on the SW several times here, I did not find the final answer that works best.
I do not want to use an external shell, since I found that they start the java process at a good level lower than themselves, which potentially reduces performance, so it seems that only shell methods remain.
I still found 3 different shell methods:
- start stop daemon
- Redhat daemon init.d function
- nohup on startup / shutdown after startup
What do you people use and can recommend as the most reliable method?
Thanks.
java linux daemon
Syber
source share