Merge pull request #16430 from bigbluebutton/antobinary-patch-1

fix(bbb-conf): ensure BBB target restarts (retake)
This commit is contained in:
Anton Georgiev 2023-01-13 13:09:25 -05:00 committed by GitHub
commit 8e56e71f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -388,7 +388,7 @@ start_bigbluebutton () {
} }
fi fi
systemctl start bigbluebutton.target systemctl restart bigbluebutton.target
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
@ -1686,7 +1686,8 @@ if [ -n "$HOST" ]; then
echo "Restarting BigBlueButton $BIGBLUEBUTTON_RELEASE ..." echo "Restarting BigBlueButton $BIGBLUEBUTTON_RELEASE ..."
systemctl restart bigbluebutton.target stop_bigbluebutton
start_bigbluebutton
exit 0 exit 0
fi fi
@ -1698,7 +1699,8 @@ if [ $RESTART ]; then
echo "Restarting BigBlueButton $BIGBLUEBUTTON_RELEASE ..." echo "Restarting BigBlueButton $BIGBLUEBUTTON_RELEASE ..."
systemctl restart bigbluebutton.target stop_bigbluebutton
start_bigbluebutton
check_state check_state
fi fi