This change should address all remaining service control issues. 1) The code path is cleaned up, and much more Win32 code is moved into #ifdef WIN32 blocks. This should only affect OS2/Netware, or other rare multithreaded beasts. 2) A significant amount of Win32 service and console code is moved to os/win32/services.c from http_main.c 3) The create_process() no longer passes -n or -k arguments, leaving the child processes free to do their real work. 4) Move Win9x service control (-k args) to follow the WinNT path. All except to actually -k start or -k restart (from stopped state.) Win9x can -k shutdown even when the pid file is whacked by starting console Apache. 5) Emulate service engine under Win9x by traversing the list of hidden ApacheService windows for the specified service. Prevents starting two copies of a Win9x service, and allows positive confirmation of Win9x service shutdown. 6) Best of all, -k restart -really- restarts the server gracefully, even in the case of windows NT services. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@85554 13f79535-47bb-0310-9956-ffa450edef68
Please register or sign in to comment