Migrates jitsi-videobridge config file.
This commit is contained in:
parent
437f5a9a17
commit
1602af0229
|
@ -21,7 +21,7 @@ set -e
|
||||||
case "$1" in
|
case "$1" in
|
||||||
configure)
|
configure)
|
||||||
|
|
||||||
. /etc/default/jitsi-videobridge
|
. /etc/jitsi/videobridge/config
|
||||||
|
|
||||||
PROSODY_CONFIG_PRESENT="true"
|
PROSODY_CONFIG_PRESENT="true"
|
||||||
PROSODY_HOST_CONFIG="/etc/prosody/conf.avail/$JVB_HOSTNAME.cfg.lua"
|
PROSODY_HOST_CONFIG="/etc/prosody/conf.avail/$JVB_HOSTNAME.cfg.lua"
|
||||||
|
|
|
@ -20,7 +20,7 @@ set -e
|
||||||
case "$1" in
|
case "$1" in
|
||||||
configure)
|
configure)
|
||||||
|
|
||||||
. /etc/default/jitsi-videobridge
|
. /etc/jitsi/videobridge/config
|
||||||
|
|
||||||
# loading debconf
|
# loading debconf
|
||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
|
|
|
@ -32,7 +32,6 @@ case "$1" in
|
||||||
db_get jitsi-meet/jvb-hostname
|
db_get jitsi-meet/jvb-hostname
|
||||||
JVB_HOSTNAME=$RET
|
JVB_HOSTNAME=$RET
|
||||||
if [ -n "$RET" ]; then
|
if [ -n "$RET" ]; then
|
||||||
#. /etc/default/jitsi-videobridge
|
|
||||||
rm -f /etc/jitsi/meet/$JVB_HOSTNAME-config.js
|
rm -f /etc/jitsi/meet/$JVB_HOSTNAME-config.js
|
||||||
rm -f /etc/nginx/sites-available/$JVB_HOSTNAME.conf
|
rm -f /etc/nginx/sites-available/$JVB_HOSTNAME.conf
|
||||||
rm -f /etc/nginx/sites-enabled/$JVB_HOSTNAME.conf
|
rm -f /etc/nginx/sites-enabled/$JVB_HOSTNAME.conf
|
||||||
|
|
Loading…
Reference in New Issue