'Do pre-application-creation setup.'

def preApplication(self):

    checkPID(self.config['pidfile'])
    self.config['nodaemon'] = (self.config['nodaemon'] or self.config['debug'])
    self.oldstdout = sys.stdout
    self.oldstderr = sys.stderr
