Framework: app:bootloader - x684867/nemesis_server GitHub Wiki

PURPOSE:

This is the master process (app.bootstrap.js) for the Nemesis web services.

Each of the four (4) web services (audit,broker,cipher,keys) are launched
using this app.js script, passing in a path and filename to the specific 
web service's configuration file.  These config files contain a general 
description of the environment to be established for the web service(s) 
and the configuration data for each service's workers.

This process is the command and control for all processes spawned
as workers for the given web service.  The mission of this app.js
script is to launch the required threads and then to monitor them
in real time and respawn any worker process which may die or become
unresponsive.

DEPENDENCIES:

console
packageLoader.js
JSON-active.js

FILES:

Filename Description
app.conf.json Core configuration file for the application and framework
bootstrap.js Framework/application boostrap
packageLoader.js Framework package loader

DESIGN NOTES

Launching the Application

From the server commandline, execute:
cd /srv/nemesis
node app/bootstrap.js $SERVER_TYPE
where $SERVER_TYPE = {audit,broker,cipher,key}
⚠️ **GitHub.com Fallback** ⚠️