Browse Source

Reload mumble after new certs applied

Bob Mottram 8 years ago
parent
commit
2e986b42d0
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/freedombone-utils-web

+ 2
- 1
src/freedombone-utils-web View File

@@ -674,7 +674,7 @@ function update_default_domain {
674 674
         fi
675 675
         chown -R prosody:prosody /etc/prosody
676 676
         chmod -R 700 /etc/prosody/certs/*
677
-        systemctl restart prosody
677
+        systemctl reload prosody
678 678
     fi
679 679
 
680 680
     if [ -d /var/lib/mumble-server ]; then
@@ -686,6 +686,7 @@ function update_default_domain {
686 686
             chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.pem
687 687
             chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.key
688 688
             chmod -R 700 /var/lib/mumble-server/${DEFAULT_DOMAIN_NAME}.dhparam
689
+            systemctl reload mumble
689 690
         fi
690 691
     fi
691 692
 }