Browse Source

Reload rather than restart tor

Bob Mottram 8 years ago
parent
commit
e3a246cd4e
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      src/freedombone-app-gogs
  2. 1
    1
      src/freedombone-app-xmpp
  3. 1
    1
      src/freedombone-base-email

+ 1
- 1
src/freedombone-app-gogs View File

@@ -566,7 +566,7 @@ function install_gogs {
566 566
         echo $'Added onion site for Gogs'
567 567
     fi
568 568
 
569
-    systemctl reload tor
569
+    onion_update
570 570
 
571 571
     function_check wait_for_onion_service
572 572
     wait_for_onion_service 'gogs'

+ 1
- 1
src/freedombone-app-xmpp View File

@@ -431,7 +431,7 @@ function install_xmpp_main {
431 431
         echo $'Added onion site for xmpp chat'
432 432
     fi
433 433
 
434
-    systemctl restart tor
434
+    onion_update
435 435
     wait_for_onion_service 'xmpp'
436 436
 
437 437
     if [ ! -f /var/lib/tor/hidden_service_xmpp/hostname ]; then

+ 1
- 1
src/freedombone-base-email View File

@@ -698,7 +698,7 @@ function install_email {
698 698
         echo $"Added onion site for ${onion_service_name}"
699 699
     fi
700 700
 
701
-    systemctl restart tor
701
+    onion_update
702 702
     function_check wait_for_onion_service
703 703
     wait_for_onion_service ${onion_service_name}
704 704