Is there a way in Java to handle a received SIGTERM?
I am running a java service but do not want to close my java service when the user log off.
Would like to override only the sigterm shutdown handler but retain the handlers for the rest of the signals.
details of signals
a slight variation of this qns