Fix sed and debconf selection

This commit is contained in:
Luis Guzmán 2020-12-11 13:53:24 -06:00
parent 4ae70e9197
commit c8f9ec0dc4
1 changed files with 3 additions and 3 deletions

View File

@ -219,7 +219,7 @@ echo "
# Install JVB2
#--------------------------------------------------
"
echo "jitsi-videobridge/jvb-hostname string $MAIN_SRV_DOMAIN" | debconf-set-selections
echo "jitsi-videobridge jitsi-videobridge/jvb-hostname string $MAIN_SRV_DOMAIN" | debconf-set-selections
apt-get -y install \
jitsi-videobridge2 \
@ -267,8 +267,8 @@ cat << JVB2_SIP > $JVB2_SIP
JVB2_SIP
echo -e "\n---- Setting new config format for jvb2 node. ----"
sed -i '$/}/d' $JVB2_NCONF
cat << JVB2 >> /etc/jitsi/videobridge/jvb.conf
sed -i '${/\}/d;}' $JVB2_NCONF
cat << JVB2 >> $JVB2_NCONF
stats {
# Enable broadcasting stats/presence in a MUC
enabled = true