At 18:55 10/01/2001 +0000, Danny Rathjens wrote:
>Perhaps you could send a USR1 prior to your TERM signal and have your
>END blocks perform your shutdown tasks if they see the USR1 signal.
>But then you have the problem of new children being started due to the
>USR1
>not to mention it would preclude using USR1 for doing normal graceful
>restarts, 8^)

What about USR2 ? Afair it isn't used and could probably be caught. In that
case it would be possible to use it prior to a TERM to signal imminent
shutdown.

-- robin b.
The computer can't tell you the emotional story.  It can give you the exact
mathematical design, but what's missing is the eyebrows. -- Frank Zappa

Reply via email to