Migrates jitsi-videobridge config file.

pull/184/head 224
Damian Minkov 10 years ago
parent 437f5a9a17
commit 1602af0229
  1. 2
      debian/jitsi-meet-prosody.postinst
  2. 2
      debian/jitsi-meet.postinst
  3. 1
      debian/jitsi-meet.postrm

@ -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…
Cancel
Save