2021-04-24 01:22:41 +08:00
|
|
|
#!/usr/bin/env bash
|
2022-03-30 21:31:05 +08:00
|
|
|
IS_BBB_WEB_RUNNING=`ss -lt | grep ":8090" > /dev/null && echo 1 || echo 0`
|
2021-04-24 01:22:41 +08:00
|
|
|
|
|
|
|
if [ "$IS_BBB_WEB_RUNNING" = "1" ]; then
|
|
|
|
echo "bbb-web is running, exiting"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
|
|
|
echo " **** This is for development only *****"
|
|
|
|
echo " "
|
|
|
|
echo " Make sure you change permissions to /var/bigbluebutton/"
|
|
|
|
echo " to allow bbb-web to write to the directory. "
|
|
|
|
echo " "
|
|
|
|
echo " chmod -R 777 /var/bigbluebutton/"
|
|
|
|
echo " "
|
|
|
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
|
|
|
|
|
|
|
|
|
|
|
exec grails prod run-app --port 8090
|