Example #1
0
 bool initService() {
     ServiceController::reportStatus( SERVICE_RUNNING );
     log() << "Service running" << endl;
     initAndListen( cmdLine.port );
     return true;
 }
Example #2
0
ExitCode initService() {
    return initAndListen(serverGlobalParams.port);
}
Example #3
0
 void initService() {
     ntservice::reportStatus( SERVICE_RUNNING );
     log() << "Service running" << endl;
     initAndListen(serverGlobalParams.port);
 }
Example #4
0
File: db.cpp Project: f3lix/mongo
 bool initService() {
     ServiceController::reportStatus( SERVICE_RUNNING );
     initAndListen( cmdLine.port );
     return true;
 }
 void run() {
     initAndListen();
 }