Merge pull request #12484 from antobinary/may31-bbb-conf

fix(bbb-conf):Only show status for multi kurento if that is configured
This commit is contained in:
Anton Georgiev 2021-05-31 16:07:26 -04:00 committed by GitHub
commit ecfe77ffd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,9 +422,12 @@ display_bigbluebutton_status () {
units="$units mongod bbb-html5 bbb-webrtc-sfu kurento-media-server"
for i in `seq 8888 8890`; do
# check if multi-kurento setup is configured
if [ -f /usr/lib/systemd/system/kurento-media-server-${i}.service ]; then
if systemctl is-enabled kurento-media-server-${i}.service > /dev/null; then
units="$units kurento-media-server-${i}"
fi
fi
done
source /usr/share/meteor/bundle/bbb-html5-with-roles.conf