Browse files

Merge pull request #360 from filipovskii/master

Change forever.config.root to `path` option if given
  • Loading branch information...
2 parents 9b2b451 + 3feef60 commit c4d22744884b6ea6f05878be63f46814bcbd03f9 @julianduque julianduque committed Feb 3, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/forever/cli.js
View
1 lib/forever/cli.js
@@ -121,6 +121,7 @@ var reserved = ['root', 'pidPath'];
function tryStart(file, options, callback) {
var fullLog, fullScript;
+ if (options.path) forever.config.set('root', options.path);
fullLog = forever.logFilePath(options.logFile, options.uid);
fullScript = path.join(options.sourceDir, file);

0 comments on commit c4d2274

Please sign in to comment.