Skip to content

Commit

Permalink
Merge branch 'bbb-conf-tomcat-systemctl' of github.com:BrentBaccala/b…
Browse files Browse the repository at this point in the history
…igbluebutton into tomcat
  • Loading branch information
antobinary committed Aug 26, 2022
2 parents 07bdc6b + 21b08db commit 3c31006
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions bigbluebutton-config/bin/bbb-conf
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,8 @@ stop_bigbluebutton () {

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

systemctl stop $TOMCAT_SERVICE bigbluebutton.target
}

start_bigbluebutton () {
Expand Down Expand Up @@ -377,15 +376,15 @@ start_bigbluebutton () {

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

systemctl start $TOMCAT_SERVICE || {
echo
echo "# Warning: $TOMCAT_SERVICE could not be started. Please, check BBB-LTI."
echo "# Run the command:"
echo "# sudo journalctl -u $TOMCAT_SERVICE"
echo "# To better understand the ERROR"
}
[ -z "$TOMCAT_SERVICE" ] || systemctl start $TOMCAT_SERVICE || {
echo
echo "# Warning: $TOMCAT_SERVICE could not be started. Please, check BBB-LTI."
echo "# Run the command:"
echo "# sudo journalctl -u $TOMCAT_SERVICE"
echo "# To better understand the ERROR"
}
fi

systemctl start bigbluebutton.target nginx freeswitch $REDIS_SERVICE bbb-apps-akka bbb-fsesl-akka bbb-rap-resque-worker bbb-rap-starter.service bbb-rap-caption-inbox.service $HTML5 $WEBHOOKS $ETHERPAD $PADS $BBB_WEB $BBB_LTI

Expand Down

0 comments on commit 3c31006

Please sign in to comment.