Skip to content
Snippets Groups Projects
Commit 7b16f031 authored by Brent Baccala's avatar Brent Baccala
Browse files

packaging from akka-bbb-fsesl: copy FreeSWITCH password from

FreeSWITCH configuration file (event_socket.conf.xml) and add
FreeSWITCH as a package dependency to make sure that it gets
configured first
parent 4ba2082f
No related branches found
No related tags found
No related merge requests found
......@@ -79,4 +79,4 @@ daemonGroup in Linux := group
javaOptions in Universal ++= Seq("-J-Xms130m", "-J-Xmx256m", "-Dconfig.file=/etc/bigbluebutton/bbb-fsesl-akka.conf", "-Dlogback.configurationFile=conf/logback.xml")
debianPackageDependencies in Debian ++= Seq("java8-runtime-headless", "bash")
debianPackageDependencies in Debian ++= Seq("java8-runtime-headless", "bash", "bbb-freeswitch-core")
#
# Update ESL password to match the password from bbb-freeswitch-core, which is
# listed as a package dependency to ensure that it configures first.
#
ESL_PASSWORD=$(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml)
if [ -n "$ESL_PASSWORD" ]; then
sed -i "s/ClueCon/$ESL_PASSWORD/g" /usr/share/bbb-fsesl-akka/conf/application.conf
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment