(file) Return to cimserver.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server

Diff for /pegasus/src/Server/cimserver.cpp between version 1.92 and 1.93

version 1.92, 2003/05/21 11:32:22 version 1.93, 2003/05/27 21:37:03
Line 223 
Line 223 
     usage.append ("    -D [home]   - sets pegasus home directory\n");     usage.append ("    -D [home]   - sets pegasus home directory\n");
 #endif #endif
 #if defined(PEGASUS_OS_TYPE_WINDOWS) #if defined(PEGASUS_OS_TYPE_WINDOWS)
     usage.append ("    -install    - installs pegasus as a Windows NT Service\n");      usage.append ("    -install [name] - installs pegasus as a Windows NT Service\n");
     usage.append ("    -remove     - removes pegasus as a Windows NT Service\n");      usage.append ("                      [name] is optional and overrides the\n");
     usage.append ("    -start    - starts pegasus as a Windows NT Service\n");      usage.append ("                      default CIM Server Service Name\n");
     usage.append ("    -stop     - stops pegasus as a Windows NT Service\n");      usage.append ("    -remove [name]  - removes pegasus as a Windows NT Service\n");
       usage.append ("                      [name] is optional and overrides the\n");
       usage.append ("                      default CIM Server Service Name\n");
       usage.append ("    -start [name]   - starts pegasus as a Windows NT Service\n");
       usage.append ("                      [name] is optional and overrides the\n");
       usage.append ("                      default CIM Server Service Name\n");
       usage.append ("    -stop [name]    - stops pegasus as a Windows NT Service\n");
       usage.append ("                      [name] is optional and overrides the\n");
       usage.append ("                      default CIM Server Service Name\n\n");
 #endif #endif
     usage.append ("  configProperty=value\n");     usage.append ("  configProperty=value\n");
     usage.append ("                - sets CIM Server configuration property\n");     usage.append ("                - sets CIM Server configuration property\n");
Line 552 
Line 560 
                   //                   //
                   // Install as a NT service                   // Install as a NT service
                   //                   //
                   if(cimserver_install_nt_service())                    char *opt_arg = NULL;
                     if (i+1 < argc)
                     {
                       opt_arg = argv[i+1];
   
                     }
                     if(cimserver_install_nt_service(opt_arg))
                   {                   {
                       cout << "\nPegasus installed as NT Service";                       cout << "\nPegasus installed as NT Service";
                       exit(0);                       exit(0);
Line 567 
Line 581 
                   //                   //
                   // Remove Pegasus as an NT service                   // Remove Pegasus as an NT service
                   //                   //
                   if(cimserver_remove_nt_service())                    char *opt_arg = NULL;
                     if (i+1 < argc)
                     {
                       opt_arg = argv[i+1];
                     }
                     if(cimserver_remove_nt_service(opt_arg))
                   {                   {
                       cout << "\nPegasus removed as NT Service";                       cout << "\nPegasus removed as NT Service";
                       exit(0);                       exit(0);
Line 583 
Line 602 
                   //                   //
                   // Start as a NT service                   // Start as a NT service
                   //                   //
                   if(cimserver_start_nt_service())                    char *opt_arg = NULL;
                     if (i+1 < argc)
                     {
                       opt_arg = argv[i+1];
                     }
                     if(cimserver_start_nt_service(opt_arg))
                   {                   {
                       cout << "\nPegasus started as NT Service";                       cout << "\nPegasus started as NT Service";
                       exit(0);                       exit(0);
Line 598 
Line 622 
                   //                   //
                   // Stop as a NT service                   // Stop as a NT service
                   //                   //
                   if(cimserver_stop_nt_service())                    char *opt_arg = NULL;
                     if (i+1 < argc)
                     {
                       opt_arg = argv[i+1];
                     }
                     if(cimserver_stop_nt_service(opt_arg))
                   {                   {
                       cout << "\nPegasus stopped as NT Service";                       cout << "\nPegasus stopped as NT Service";
                       exit(0);                       exit(0);


Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2