Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
fd2d11ca
Commit
fd2d11ca
authored
4 years ago
by
Dixon Fred
Browse files
Options
Downloads
Patches
Plain Diff
Added detectio for /etc/bigbluebutton/bbb-web.properties
parent
a165d3a7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bigbluebutton-config/bin/apply-lib.sh
+5
-3
5 additions, 3 deletions
bigbluebutton-config/bin/apply-lib.sh
with
5 additions
and
3 deletions
bigbluebutton-config/bin/apply-lib.sh
+
5
−
3
View file @
fd2d11ca
...
...
@@ -23,15 +23,17 @@ else
SERVLET_DIR
=
/var/lib/tomcat7/webapps/bigbluebutton
fi
BBB_WEB_ETC_CONFIG
=
/etc/bigbluebutton/bbb-web.properties
PROTOCOL
=
http
if
[
-f
$SERVLET_DIR
/WEB-INF/classes/bigbluebutton.properties
]
;
then
SERVER_URL
=
$(
cat
$SERVLET_DIR
/WEB-INF/classes/bigbluebutton.properties |
sed
-n
'/^bigbluebutton.web.serverURL/{s/.*\///;p}'
)
if
cat
$SERVLET_DIR
/WEB-INF/classes/bigbluebutton.properties |
grep
bigbluebutton.web.serverURL |
grep
-q
https
;
then
SERVER_URL
=
$(
cat
$SERVLET_DIR
/WEB-INF/classes/bigbluebutton.properties
$BBB_WEB_ETC_CONFIG
|
grep
-v
'#'
|
sed
-n
'/^bigbluebutton.web.serverURL/{s/.*\///;p}'
|
tail
-n
1
)
if
cat
$SERVLET_DIR
/WEB-INF/classes/bigbluebutton.properties
$BBB_WEB_ETC_CONFIG
|
grep
-v
'#'
|
grep
bigbluebutton.web.serverURL |
tail
-n
1 |
grep
-q
https
;
then
PROTOCOL
=
https
fi
fi
HOST
=
$(
cat
$SERVLET_DIR
/WEB-INF/classes/bigbluebutton.properties |
grep
-v
'#'
|
sed
-n
'/^bigbluebutton.web.serverURL/{s/.*\///;p}'
)
HOST
=
$(
cat
$SERVLET_DIR
/WEB-INF/classes/bigbluebutton.properties
$BBB_WEB_ETC_CONFIG
|
grep
-v
'#'
|
sed
-n
'/^bigbluebutton.web.serverURL/{s/.*\///;p}'
|
tail
-n
1
)
HTML5_CONFIG
=
/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml
BBB_WEB_CONFIG
=
$SERVLET_DIR
/WEB-INF/classes/bigbluebutton.properties
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment