Dear colleagues,

 Any idea or code snippet that intercepts a [ CTRL C or Z ], or even better to intercepts a kill -9 action inside a running Jython server daemon?
Based on a console action,  I would like to call a  graceful shutdown process before exiting the code.

Thanks in advance for feedbacks.
Regards,
Claude
 

Claude Falbriard
Developer
AMS Hortolāndia / SP - Brazil
phone:    +55 13 9762 4094
cell:         +55 13 8117 3316
e-mail:    claudef@br.ibm.com