added daemon capability to ./nodebb start, npm start/stop scripts

This commit is contained in:
Julian Lam
2014-02-27 10:06:31 -05:00
parent 38e4a6c8b0
commit 5b301772bb
5 changed files with 77 additions and 22 deletions

View File

@@ -52,7 +52,7 @@ var shutdown = function(code) {
db.close();
winston.info('[app] Database connection closed.');
winston.info('[app] Goodbye!');
winston.info('[app] Shutdown complete.');
process.exit();
},
restart = function() {