Don't delete conf
This commit is contained in:
parent
bf5878e4e1
commit
743222666f
|
@ -117,12 +117,7 @@ function reconfigure_jitsi {
|
|||
}
|
||||
|
||||
function upgrade_jitsi {
|
||||
if [ -f /etc/init.d/jicofo ]; then
|
||||
systemctl stop jicofo
|
||||
sed -i 's|exec $DAEMON|exec /usr/bin/torify $DAEMON|g' /etc/init.d/jicofo
|
||||
systemctl daemon-reload
|
||||
systemctl start jicofo
|
||||
fi
|
||||
echo -n ''
|
||||
}
|
||||
|
||||
function backup_local_jitsi {
|
||||
|
@ -222,11 +217,6 @@ function install_jitsi {
|
|||
exit 78372
|
||||
fi
|
||||
|
||||
if [ -f /etc/nginx/sites-available/${JITSI_DOMAIN_NAME}.conf ]; then
|
||||
rm /etc/nginx/sites-available/${JITSI_DOMAIN_NAME}.conf
|
||||
systemctl restart nginx
|
||||
fi
|
||||
|
||||
# add jitsi repo
|
||||
jitsi_deb_repo=binary
|
||||
apt-get -yq install wget debconf-utils default-jre
|
||||
|
@ -368,12 +358,6 @@ function install_jitsi {
|
|||
cp /etc/ssl/private/${JITSI_DOMAIN_NAME}.key /etc/prosody/certs
|
||||
chown prosody:prosody /etc/prosody/certs/${JITSI_DOMAIN_NAME}.*
|
||||
|
||||
# remove extraneous nginx config generated by the deb package
|
||||
if [ -f /etc/nginx/sites-available/${JITSI_DOMAIN_NAME}.conf ]; then
|
||||
nginx_dissite ${JITSI_DOMAIN_NAME}.conf
|
||||
rm /etc/nginx/sites-available/${JITSI_DOMAIN_NAME}.conf
|
||||
fi
|
||||
|
||||
function_check nginx_ensite
|
||||
nginx_ensite ${JITSI_DOMAIN_NAME}.conf
|
||||
|
||||
|
|
Loading…
Reference in New Issue