On Feb 28, 2006, at 8:23 AM, Brian Akins wrote:
If I run httpd -k stop, if it cannot stop listener, it still returns 0. same for graceful-stop. should it return something else?
Depends on what it actually does. If you follow the code into server/ main.c:630 and server/mpm_common.c:898, you see that all httpd -k stop does is send a SIGTERM to the pid read from the PidFile in the config. Its return value merely means "I've sent the signal" and not "httpd was successfully shut down" because there's no way it can know this.
S.
smime.p7s
Description: S/MIME cryptographic signature
