mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-01-12 22:46:42 +08:00
Forever monitor was causing issues with newer versions of node (0.8+), particularly manifested in weird behavior with the repl used with the did CLI tool. After some discussion with @ritch, we decided that supervisor daemons should be outside of deployd, managed by developers. This commit removes the forever-monitor module from the project, and thus fixes the weird character issues with dpd. Fixes #203 #176
13 lines
271 B
JavaScript
13 lines
271 B
JavaScript
var Server = require('./lib/server')
|
|
, upgrade = require('doh').upgrade;
|
|
|
|
/**
|
|
* export a simple function that constructs a dpd server based on a config
|
|
*/
|
|
|
|
module.exports = function (config) {
|
|
var server = new Server(config);
|
|
upgrade(server);
|
|
return server;
|
|
};
|