Module: app

This module contains the startApp() function that is the main function of the application.

Methods

(static) startApp(argv, cb)

Start the application

The main function of the application.

The function sets up the configuration, the startup and terminator functions, and an empty list of jobs, then executes the startup process of the container.

Parameters:
Name Type Description
argv Object

The command line arguments of the application. Default value: process.argv.

cb function

An error-first callback function which (if not null, then will be called, when the application successfully finishes its execution. Default value is null.