14641d1a3b
If a meeting has no events for too long (24 hours), remove the meeting mapping to prevent too much data from being stored forever on redis. |
||
---|---|---|
.. | ||
config | ||
.gitignore | ||
.nvmrc | ||
app.js | ||
application.coffee | ||
bbb-callback.sh | ||
callback_emitter.coffee | ||
config.coffee | ||
hook.coffee | ||
meeting_id_map.coffee | ||
package.json | ||
README | ||
utils.coffee | ||
web_hooks.coffee | ||
web_server.coffee |
bbb-callbacks ------------- It's a webapp which allows to perform certain callbacks when an event happens in a bigbluebutton session. The webapp uses node.js and redis. For run: node app.js To run in production, put bbb-callback.sh into /etc/init.d/ See: https://www.exratione.com/2013/02/nodejs-and-forever-as-a-service-simple-upstart-and-init-scripts-for-ubuntu/ 1. Install node by downloading source from http://nodejs.org/download/. Extract the downloaded file. ./configure make sudo make install 2. Install forever sudo npm -g install forever 3. Copy the init.d script sudo cp bbb-callback.sh /etc/init.d/bbb-callback.sh sudo chmod a+x /etc/init.d/bbb-callback.sh sudo update-rc.d bbb-callback.sh defaults 4. Copy bbb-callback dir to /usr/local/bigbluebutton/bbb-callback 5. How to start/stop the service sudo service bbb-callback.sh start sudo service bbb-callback.sh status sudo service bbb-callback.sh restart sudo service bbb-callback.sh stop