#NEWLINE# def start( self ) : #NEWLINE# #INDENT# d = defer . Deferred ( ) #NEWLINE# self . __notify_waiting . append ( d ) #NEWLINE# args = [ b'mongod' , b'--port' , intToBytes ( self . port ) , b'--dbpath' , self . __datadir , b'--noprealloc' , b'--nojournal' , b'--smallfiles' , b'--nssize' , b'1' , b'--nohttpinterface' ] #NEWLINE# if self . auth : #NEWLINE# #INDENT# args . append ( b'--auth' ) #NEWLINE# #UNINDENT# if self . replset : #NEWLINE# #INDENT# args . extend ( [ b'--replSet' , self . replset ] ) #NEWLINE# #UNINDENT# from os import environ #NEWLINE# self . __proc = reactor . spawnProcess ( self , b'mongod' , args , env = environ ) #NEWLINE# return d