From 7b7f81528818b9e086a4536fe28b12b2300b2358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iva=CC=81n=20Loire?= Date: Wed, 22 Aug 2012 19:38:48 -0300 Subject: [PATCH] relocate files --- lib/notifications/email/email.js | 2 +- lib/watchmen.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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.'); }; /*-----------------------