> -----Ursprüngliche Nachricht----- > Von: Sander Temme > Gesendet: Freitag, 29. Juni 2007 06:44 > An: dev@httpd.apache.org > Betreff: Re: -X and SIGTERM > > > > On Jun 28, 2007, at 11:54 AM, Brian J. France wrote: > > > Here is a patch that will allow SIGTERM to work with -X > > > > http://www.brianfrance.com/software/apache/httpd.signal.diff > > > > Without the patch running httpd on the command line with -X and > > trying to stop it can only be done by backgrounding it and then > > kill -9'ing it (ctrl-c doesn't work). > > +1. Wouldn't it also apply to the other MPMs?
I checked with the worker MPM and the worker MPM terminates if you sent it a SIGTERM when running in one process mode (a.k.a. httpd -X). I have not checked more MPMs, but as the respective code in worker and event looks like the same I would guess that event also terminates on SIGTERM. Regards Rüdiger