Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ In addition to passing forever the path to a script (along with accompanying opt
"append": true,
"watch": true,
"script": "index.js",
"sourceDir": "/home/myuser/app"
"sourceDir": "/home/myuser/app",
"env": {Object}
}
```

Expand Down Expand Up @@ -156,7 +157,8 @@ JSON configuration files can also be used to define the startup options for *mul
"append": true,
"watch": true,
"script": "index.js",
"sourceDir": "/home/myuser/app1"
"sourceDir": "/home/myuser/app1",
"env": {Object}
},
{
// App2
Expand Down
2 changes: 1 addition & 1 deletion lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ var getOptions = cli.getOptions = function (file) {
'pidFile', 'logFile', 'errFile', 'watch', 'minUptime', 'append',
'silent', 'outFile', 'max', 'command', 'path', 'spinSleepTime',
'sourceDir', 'workingDir', 'uid', 'watchDirectory', 'watchIgnore',
'killTree', 'killSignal', 'id'
'killTree', 'killSignal', 'id', 'env'
],
specialKeys = ['script', 'args'],
configs;
Expand Down