lib/app/worker.js
function(callback) {
                self.configureDatabases(function(err) {

                    if (err) {
                        process.exit(111);
                        return;
                    }

                    self.configureApplicationStack(
                        app, server, callback
                    );
                });
            }
function(callback) {
                self.configureDatabases(function(err) {

                    if (err) {
                        process.exit(111);
                        return;
                    }

                    self.configureApplicationStack(
                        app, server, callback
                    );
                });
            }
function ( callback ) { self . configureDatabases ( function ( err ) { if ( err ) { process . exit ( 111 ) ; return ; } self . configureApplicationStack ( app , server , callback ) ; } ) ; }
Configure database connections
Configure database connections