Commit ac1d752b authored by pcs's avatar pcs
Browse files

Avoid warning about PID file being overwritten on each start of Apache.

This had two causes: first, if "-i", "-u" or "-S" was given (none of which
start a daemon) the PID file was being updated with the new PID. Secondly,
doing "net stop apache" or stopping Apache from the SCM did not remove the
PID file because reporting a STOPPED status to the SCM seems to stop the
process, so move the reporting of the STOPPED service to the very last
thing we do.

PR:     3053, 3084


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@82226 13f79535-47bb-0310-9956-ffa450edef68
parent ffc4db7c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment