diff --git a/lib/notifications/email/email.js b/lib/notifications/email/email.js index c060febb..2b43d2c6 100644 --- a/lib/notifications/email/email.js +++ b/lib/notifications/email/email.js @@ -1,5 +1,5 @@ var postmark = require ('./postmark'); -var config = require ('../config/general'); +var config = require ('../../../config/general'); exports.sendEmail = function (to_list, subject, body, callback){ postmark.sendEmail({ diff --git a/lib/watchmen.js b/lib/watchmen.js index 9c8fc658..96d695b9 100644 --- a/lib/watchmen.js +++ b/lib/watchmen.js @@ -1,4 +1,4 @@ -var postmark = require('./postmark'); +var postmark = require('./notifications/email/postmark'); var events = require('events'); function WatchMen(services, storage, options){ @@ -172,6 +172,8 @@ WatchMen.prototype.start = function (){ launch(service); } }); + + console.log('watchmen monitor started.'); }; /*-----------------------