On Wed, 10 Jan 2001, 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^)

This is for code that will be publicly distributed.  I don't want to
require people to send a nonstandard signal just to shut down their
server.

> Hrm, would be nice if $r->server had a method to tell you if apache is
> in the process of shutting down or not.

That's what I want.


/*==================
www.urth.org
We await the New Sun
==================*/

Reply via email to