Skip to content

Loading…

Forever config file support #124

Closed
zzdhidden opened this Issue · 2 comments

3 participants

@zzdhidden

The config file may like this

forever.js

var request= require("request");
module.exports = {
index: "index.js"
, logFile: "forever.log"
, outFile: "out.log"
, onStart: function(){}
, onStderr: funtion(err){ request("http://url/tellme"); }
};

Then:

forever -f forever.js
@AvianFlu

This is an interesting idea. If you or anyone else wanted to make a pull request, we could definitely get something like this implemented.

@indexzero
An elegant process monitor for anything written in Node. member

Duplicate of #260

@indexzero indexzero closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.