tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat/src/native/mod_jk/nt_service jk_nt_service.c
Date Tue, 24 Apr 2001 08:49:49 GMT
hgomez      01/04/24 01:49:48

  Modified:    src/native/mod_jk/nt_service jk_nt_service.c
  Log:
  Update to follow new Win2K services cmd
  Obtained from: William A Rowe <wrowe@covalent.net>
  
  Revision  Changes    Path
  1.3       +3 -2      jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_service.c
  
  Index: jk_nt_service.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_service.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jk_nt_service.c	2000/11/19 04:15:13	1.2
  +++ jk_nt_service.c	2001/04/24 08:49:46	1.3
  @@ -56,7 +56,7 @@
   /***************************************************************************
    * Description: NT System service for Jakarta/Tomcat                       *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
  - * Version:     $Revision: 1.2 $                                           *
  + * Version:     $Revision: 1.3 $                                           *
    ***************************************************************************/
   
   #include "jk_global.h"
  @@ -248,6 +248,7 @@
           /*
            * Stop the service.
            */
  +        case SERVICE_CONTROL_SHUTDOWN:
           case SERVICE_CONTROL_STOP:
               ssStatus.dwCurrentState = SERVICE_STOP_PENDING;
               stop_jk_service();
  @@ -281,7 +282,7 @@
       if(dwCurrentState == SERVICE_START_PENDING) {
           ssStatus.dwControlsAccepted = 0;
       } else {
  -        ssStatus.dwControlsAccepted = SERVICE_ACCEPT_STOP;
  +        ssStatus.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN;
       }
   
       ssStatus.dwCurrentState = dwCurrentState;
  
  
  

Mime
View raw message