[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Trapping condor_rm's signal


I need to trap whatever signal is generated by condor_rm, and having read the manual at:


it would seem that I should be able to trap SIGTERM by default, or make sure by setting "|kill_sig = |SIGTERM" in the submit script (this is a vanilla job under 6.8.8 on an i386 linux machine, kernel 2.6.18). However, a simple test with a signal handler in a bash script never traps SIGTERM when I perform condor_rm, whereas I can successfully trap it if I send it directly to the running process from the command line. What am I missing?