You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/06/24 12:48:19 UTC

DO NOT REPLY [Bug 21036] - Parameter -D will be ignored on restart of Apache

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21036>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21036

Parameter -D will be ignored on restart of Apache





------- Additional Comments From trawick@apache.org  2003-06-24 10:48 -------
Unfortunately there is no mechanism to communicate the -D value (or any other
parameters) to the running httpd process during the restart.  The httpd process
being restarted will always use the command-line it was originally started with.

The process handling "apachectl restart" simply sends a signal (SIGHUP) to the
running server.  The -D has to be accepted on the "apachectl restart" in case it
is necessary for selecting the right running httpd process to signal, such as
when this is in the httpd.conf

<IfDefine SSL>
PidFile logs/ssl.pid
</IfDefine>
<IfDefine !SSL>
PidFile logs/httpd.pid
</Ifdefine>

This is a limitation until such time that the implementation changes significantly.

I suggest addressing your concern with some information at
http://httpd.apache.org/docs-2.0/stopping.html

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org