options (now -k install|uninstall), and best yet, restart the console
mode server on Ctrl+Break (Ctrl+C still stops it.)
At least this is the second half - sorry I missed a bit.
Submitted by: John Sterling <sterling@covalent.net>
Reviewed by: William Rowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86821
13f79535-47bb-0310-9956-
ffa450edef68
{
switch (ctrl_type)
{
- case CTRL_C_EVENT:
case CTRL_BREAK_EVENT:
+ fprintf(stderr, "Apache server restarting...\n");
+ signal_parent(1);
+ return TRUE;
+ case CTRL_C_EVENT:
fprintf(stderr, "Apache server interrupted...\n");
/* for Interrupt signals, shut down the server.
* Tell the system we have dealt with the signal