Re: Close apache console from XP/2003/Vista

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for this, I had tried the GenerateConsoleEvent api before without success, although reading that page the author is creating a remote thread to call the api from within the Apache process rather than externally so I'll play around with that.

Thanks,
Matt

Eric Covener wrote:
On Thu, May 28, 2009 at 7:19 AM, Matthew Gregory
<matthew+apache@xxxxxxxxxxx> wrote:
My question is this: how can I gracefully close apache? The docs say to use
"httpd -k stop" but on our target platforms this always tries to stop the
service but we are actually running as a console. There is mention of using
kill on unix but I cannot find a suitable windows equivilant.

I've used e a little windows utility, SendSignal.exe, to send
cntrl-break to a similar a program in some automation.

http://www.latenighthacking.com/projects/2003/sendSignal/

Unfortunately it didn't look like any of the sysinsternals tools would
do it, but I may have just missed it.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux