2017-06-13 23:53:51 +08:00
|
|
|
/*
|
|
|
|
* Paulo Renato Lanzarin
|
|
|
|
* (C) Copyright 2017 Bigbluebutton
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2017-07-11 04:51:06 +08:00
|
|
|
const ConnectionManager = require('./lib/ConnectionManager');
|
|
|
|
const CM = new ConnectionManager();
|
2017-06-13 23:53:51 +08:00
|
|
|
|
2017-07-11 04:51:06 +08:00
|
|
|
process.on('SIGTERM', CM._stopAll.bind(CM));
|
|
|
|
process.on('SIGINT', CM._stopAll.bind(CM));
|