Am 02.08.2011 09:30 schrieb AndDM: > The function works for SIGHUP and SIGINT, but it doesn't work for > SIGTERM. I've tried with simple killall and with -15 option. > Have you some ideas? SIGTERM cannot be caught - it kills the process the hard way. HTH, Thomas