Reload mumble after new certs applied

This commit is contained in:
Bob Mottram 2016-10-28 13:27:42 +01:00
parent 67c7bc34e8
commit 2e986b42d0
1 changed files with 2 additions and 1 deletions

View File

@ -674,7 +674,7 @@ function update_default_domain {
fi fi
chown -R prosody:prosody /etc/prosody chown -R prosody:prosody /etc/prosody
chmod -R 700 /etc/prosody/certs/* chmod -R 700 /etc/prosody/certs/*
systemctl restart prosody systemctl reload prosody
fi fi
if [ -d /var/lib/mumble-server ]; then if [ -d /var/lib/mumble-server ]; then
@ -686,6 +686,7 @@ function update_default_domain {
chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.pem chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.pem
chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.key chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.key
chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.dhparam chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.dhparam
systemctl reload mumble
fi fi
fi fi
} }