stuff
This commit is contained in:
@ -321,6 +321,7 @@ workers.checkBalance();
|
|||||||
// });
|
// });
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
|
||||||
router.get('/stop/:name', function(req, res, next){
|
router.get('/stop/:name', function(req, res, next){
|
||||||
return lxc.stop(req.params.name, function(data){
|
return lxc.stop(req.params.name, function(data){
|
||||||
console.log('stop', arguments);
|
console.log('stop', arguments);
|
||||||
@ -331,6 +332,10 @@ router.get('/stop/:name', function(req, res, next){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
router.get('destroyOld', function(req, res, next) {
|
||||||
|
workers.destroyOld();
|
||||||
|
res.send('?');
|
||||||
|
});
|
||||||
|
|
||||||
router.get('/liststuff', function(req, res, next){
|
router.get('/liststuff', function(req, res, next){
|
||||||
var obj = util.inspect(workers, {depth: 4});
|
var obj = util.inspect(workers, {depth: 4});
|
||||||
|
Reference in New Issue
Block a user