Skip to content

Commit

Permalink
Add haproxy and coturn to bbb-conf status check.
Browse files Browse the repository at this point in the history
  • Loading branch information
GhaziTriki committed Jul 27, 2023
1 parent 94252fc commit fcddb82
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bigbluebutton-config/bin/bbb-conf
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ start_bigbluebutton () {
}

display_bigbluebutton_status () {
units="nginx freeswitch $REDIS_SERVICE bbb-apps-akka bbb-fsesl-akka"
units="haproxy nginx freeswitch $REDIS_SERVICE bbb-apps-akka bbb-fsesl-akka"

if [ -d $TOMCAT_DIR ]; then
units="$units $TOMCAT_USER"
Expand Down Expand Up @@ -468,12 +468,16 @@ display_bigbluebutton_status () {
if [ -f /usr/lib/systemd/system/bbb-rap-starter.service ]; then
units="$units bbb-rap-starter"
fi

if [ -f /usr/lib/systemd/system/coturn.service ]; then
units="$units coturn"
fi

if systemctl list-units --full -all | grep -q $TOMCAT_USER.service; then
TOMCAT_SERVICE=$TOMCAT_USER
fi

line='——————————————————————►'
line='——————————————————————————————'
for unit in $units; do
status=$(systemctl is-active "$unit")
if [ "$status" = "active" ]; then
Expand Down

0 comments on commit fcddb82

Please sign in to comment.