Skip to content

Commit

Permalink
Use args instead of options with Forever. Closes #39.
Browse files Browse the repository at this point in the history
  • Loading branch information
Flolagale committed Jul 23, 2015
1 parent a3fd7f6 commit 68aab8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/mailin.js
Expand Up @@ -64,7 +64,6 @@ Mailin.prototype.start = function (options, callback) {
var configuration = this.configuration;
extend(true, configuration, options);
configuration.smtpOptions.secure = Boolean(configuration.smtpOptions.secure);
console.log(configuration);

callback = callback || function () {};

Expand Down
2 changes: 1 addition & 1 deletion run-cli.js
Expand Up @@ -11,7 +11,7 @@ var restartCount = 0;
var mailinProcess = new (forever.Monitor)(path.join(__dirname, 'cli.js'), {
max: 1000,
minUptime: 10000,
options: process.argv.slice(2)
args: process.argv.slice(2)
});

mailinProcess.on('error', function (err) {
Expand Down

0 comments on commit 68aab8c

Please sign in to comment.