version 1.189.2.2, 2006/10/28 04:48:39
|
version 1.190, 2006/11/15 20:27:08
|
|
|
String configTimeout = | String configTimeout = |
configManager->getCurrentValue("shutdownTimeout"); | configManager->getCurrentValue("shutdownTimeout"); |
Uint32 timeoutValue = strtol(configTimeout.getCString(), (char **)0, 10); | Uint32 timeoutValue = strtol(configTimeout.getCString(), (char **)0, 10); |
#ifdef PEGASUS_SLP_REG_TIMEOUT |
|
deregPegasus(); |
|
#endif |
|
shutdownCIMOM(timeoutValue); | shutdownCIMOM(timeoutValue); |
| |
#ifdef PEGASUS_OS_OS400 | #ifdef PEGASUS_OS_OS400 |
|
|
"Started $0 version $1.", | "Started $0 version $1.", |
_cimServerProcess->getProductName(), _cimServerProcess->getCompleteVersion()); | _cimServerProcess->getProductName(), _cimServerProcess->getCompleteVersion()); |
| |
#if defined(PEGASUS_OS_TYPE_UNIX) |
#if defined(PEGASUS_OS_TYPE_UNIX) && !defined(PEGASUS_OS_ZOS) |
if (daemonOption && !debugOutputOption) | if (daemonOption && !debugOutputOption) |
{ | { |
// Direct standard input, output, and error to /dev/null, | // Direct standard input, output, and error to /dev/null, |
|
|
// | // |
while( !_cimServer->terminated() ) | while( !_cimServer->terminated() ) |
{ | { |
|
|
_cimServer->runForever(); | _cimServer->runForever(); |
| |
} | } |