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:
commit
ecfe77ffd4
@ -422,9 +422,12 @@ display_bigbluebutton_status () {
|
|||||||
units="$units mongod bbb-html5 bbb-webrtc-sfu kurento-media-server"
|
units="$units mongod bbb-html5 bbb-webrtc-sfu kurento-media-server"
|
||||||
|
|
||||||
for i in `seq 8888 8890`; do
|
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
|
if systemctl is-enabled kurento-media-server-${i}.service > /dev/null; then
|
||||||
units="$units kurento-media-server-${i}"
|
units="$units kurento-media-server-${i}"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
source /usr/share/meteor/bundle/bbb-html5-with-roles.conf
|
source /usr/share/meteor/bundle/bbb-html5-with-roles.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user