Merge pull request #6642 from ffdixon/update-bbb-conf-9
Add check for restarting etherpad
This commit is contained in:
commit
e25dacb74c
@ -321,8 +321,11 @@ stop_bigbluebutton () {
|
|||||||
if [ -f /usr/lib/systemd/system/bbb-transcode-akka.service ]; then
|
if [ -f /usr/lib/systemd/system/bbb-transcode-akka.service ]; then
|
||||||
BBB_TRANSCODE_AKKA=bbb-transcode-akka
|
BBB_TRANSCODE_AKKA=bbb-transcode-akka
|
||||||
fi
|
fi
|
||||||
|
if [ -f /usr/share/etherpad-lite/settings.json ]; then
|
||||||
|
ETHERPAD=etherpad
|
||||||
|
fi
|
||||||
|
|
||||||
systemctl stop red5 $TOMCAT_SERVICE nginx freeswitch $REDIS_SERVICE bbb-apps-akka $BBB_TRANSCODE_AKKA bbb-fsesl-akka bbb-rap-archive-worker.service bbb-rap-process-worker.service bbb-rap-publish-worker.service bbb-rap-sanity-worker.service bbb-record-core.timer $HTML5 $WEBHOOKS etherpad
|
systemctl stop red5 $TOMCAT_SERVICE nginx freeswitch $REDIS_SERVICE bbb-apps-akka $BBB_TRANSCODE_AKKA bbb-fsesl-akka bbb-rap-archive-worker.service bbb-rap-process-worker.service bbb-rap-publish-worker.service bbb-rap-sanity-worker.service bbb-record-core.timer $HTML5 $WEBHOOKS $ETHERPAD
|
||||||
else
|
else
|
||||||
/etc/init.d/monit stop
|
/etc/init.d/monit stop
|
||||||
|
|
||||||
@ -392,8 +395,11 @@ start_bigbluebutton () {
|
|||||||
if [ -f /usr/lib/systemd/system/bbb-transcode-akka.service ]; then
|
if [ -f /usr/lib/systemd/system/bbb-transcode-akka.service ]; then
|
||||||
BBB_TRANSCODE_AKKA=bbb-transcode-akka
|
BBB_TRANSCODE_AKKA=bbb-transcode-akka
|
||||||
fi
|
fi
|
||||||
|
if [ -f /usr/share/etherpad-lite/settings.json ]; then
|
||||||
|
ETHERPAD=etherpad
|
||||||
|
fi
|
||||||
|
|
||||||
systemctl start red5 $TOMCAT_SERVICE nginx freeswitch $REDIS_SERVICE bbb-apps-akka $BBB_TRANSCODE_AKKA bbb-fsesl-akka bbb-record-core.timer $HTML5 $WEBHOOKS etherpad
|
systemctl start red5 $TOMCAT_SERVICE nginx freeswitch $REDIS_SERVICE bbb-apps-akka $BBB_TRANSCODE_AKKA bbb-fsesl-akka bbb-record-core.timer $HTML5 $WEBHOOKS $ETHERPAD
|
||||||
if [ -f /usr/lib/systemd/system/bbb-html5.service ]; then
|
if [ -f /usr/lib/systemd/system/bbb-html5.service ]; then
|
||||||
systemctl start mongod
|
systemctl start mongod
|
||||||
sleep 3
|
sleep 3
|
||||||
@ -1557,6 +1563,15 @@ check_state() {
|
|||||||
echo "#"
|
echo "#"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
NCPU=`nproc --all`
|
||||||
|
if [ "$NCPU" -lt "4" ]; then
|
||||||
|
echo "# Warning: found only $NCPU cores, whereas this sherver should have (at least) 4 CPU cores"
|
||||||
|
echo "# to run BigBlueButton in production."
|
||||||
|
echo "#"
|
||||||
|
echo "# http://docs.bigbluebutton.org/install/install.html#minimum-server-requirements"
|
||||||
|
echo "#"
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user