2019-01-24 15:42:14 +08:00
|
|
|
#!/usr/bin/env bash
|
2020-07-24 13:42:51 +08:00
|
|
|
IS_BBB_WEB_RUNNING=`netstat -an | grep LISTEN | grep 8090 > /dev/null && echo 1 || echo 0`
|
|
|
|
|
|
|
|
if [ "$IS_BBB_WEB_RUNNING" = "1" ]; then
|
|
|
|
echo "bbb-web is running, exiting"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "`whoami`" != "bigbluebutton" ]; then
|
|
|
|
echo "ERROR: bbb-web must run as bigbluebutton user ( because of the uploaded files permissions )"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2019-02-10 00:36:27 +08:00
|
|
|
grails prod run-app --port 8090
|