Skip to content
Snippets Groups Projects
Commit 368fd5b8 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't need to copy jitsi certs

parent 02998336
No related branches found
No related tags found
No related merge requests found
......@@ -691,21 +691,6 @@ function update_default_domain {
echo $'Updating default domain'
if [[ $ONION_ONLY == 'no' ]]; then
if [ -d /etc/prosody ]; then
if [ -d /etc/jitsi ]; then
read_config_param "JITSI_DOMAIN_NAME"
if [ ${#JITSI_DOMAIN_NAME} -gt 0 ]; then
if [ -f /etc/ssl/private/${JITSI_DOMAIN_NAME}.key ]; then
cp /etc/ssl/private/${JITSI_DOMAIN_NAME}.key /etc/prosody/certs/${JITSI_DOMAIN_NAME}.key
fi
if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.crt ]; then
cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.crt /etc/prosody/certs/${JITSI_DOMAIN_NAME}.pem
fi
if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem ]; then
cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem /etc/prosody/certs/${JITSI_DOMAIN_NAME}.pem
fi
fi
fi
if [ -f /etc/mumble-server.ini ]; then
if [ ! -f /etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.pem ]; then
if ! grep -q "mumble.pem" /etc/mumble-server.ini; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment