How to use the forever.stopAll function in forever

To help you get started, we’ve selected a few forever examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github geekuillaume / ChatUp / entrypoint.js View on Github external
nginxDaemon.on('exit', function() {
    forever.stopAll();
    process.exit(1);
  });
github soomtong / blititor / blit.js View on Github external
.action(function () {
        forever.stopAll();

        console.log("blititor server is stopped...");
    });
github geekuillaume / ChatUp / entrypoint.js View on Github external
process.on('exit', function() {
    forever.stopAll();
  });

forever

A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever)

MIT
Latest version published 3 years ago

Package Health Score

56 / 100
Full package analysis