This commit is contained in:
Bob Mottram 2016-11-09 17:20:32 +00:00
parent b39c34fbb6
commit 318fb26845
1 changed files with 9 additions and 2 deletions

View File

@ -208,8 +208,8 @@ function remove_jitsi {
remove_nodejs jitsi
# remove videobridge
#firewall_remove ${VIDEOBRIDGE_PORT}
apt-get -yq remove --purge jitsi-videobridge jicofo jitsi-meet
firewall_remove ${VIDEOBRIDGE_PORT}
apt-get -yq remove --purge jitsi-videobridge jicofo jitsi-meet jitsi-meet-prosody
if [ -d /etc/jitsi ]; then
rm -rf /etc/jitsi
fi
@ -217,6 +217,9 @@ function remove_jitsi {
if [ -d /usr/share/jitsi-videobridge ]; then
rm -rf /usr/share/jitsi-videobridge
fi
if [ -d /usr/share/jitsi-meet ]; then
rm -rf /usr/share/jitsi-meet
fi
sed -i "/jitsi/d" /etc/apt/sources.list
apt-get update
@ -416,6 +419,10 @@ function install_jitsi {
# install_jitsi_xmpp
if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem ]; then
sed -i "s|.crt|.pem|g" $jitsi_nginx_site
fi
function_check nginx_ensite
nginx_ensite ${JITSI_DOMAIN_NAME}