node-supervisord-eventlistener
This library implements a Supervisord event listener for Node.js.
Install
npm install supervisord-eventlistener
Usage
Sample Node.js Program
var supervisor = ;supervisor;supervisor;supervisor;
Sample Supervisor Configuration
[eventlistener:monitoring]
command = /usr/bin/nodejs /home/user/your_node_program.js
events = PROCESS_STATE,PROCESS_COMMUNICATION,SUPERVISOR_STATE_CHANGE
More Documentation
List of event types: click here
See http://supervisord.org/events.html for more documentation.