Migrates jitsi-videobridge config file.

This commit is contained in:
Damian Minkov 2014-10-23 13:38:54 +03:00
parent 437f5a9a17
commit 1602af0229
3 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@ set -e
case "$1" in
configure)
. /etc/default/jitsi-videobridge
. /etc/jitsi/videobridge/config
PROSODY_CONFIG_PRESENT="true"
PROSODY_HOST_CONFIG="/etc/prosody/conf.avail/$JVB_HOSTNAME.cfg.lua"

View File

@ -20,7 +20,7 @@ set -e
case "$1" in
configure)
. /etc/default/jitsi-videobridge
. /etc/jitsi/videobridge/config
# loading debconf
. /usr/share/debconf/confmodule

View File

@ -32,7 +32,6 @@ case "$1" in
db_get jitsi-meet/jvb-hostname
JVB_HOSTNAME=$RET
if [ -n "$RET" ]; then
#. /etc/default/jitsi-videobridge
rm -f /etc/jitsi/meet/$JVB_HOSTNAME-config.js
rm -f /etc/nginx/sites-available/$JVB_HOSTNAME.conf
rm -f /etc/nginx/sites-enabled/$JVB_HOSTNAME.conf