Bob Mottram 8 years ago
parent
commit
46aebc3edd
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-app-tahoelafs

+ 2
- 2
src/freedombone-app-tahoelafs View File

@@ -380,7 +380,7 @@ function remove_tahoelafs {
380 380
     if [ -f /etc/nginx/.htpasswd-tahoelafs ]; then
381 381
         shred -zu /etc/nginx/.htpasswd-tahoelafs
382 382
     fi
383
-    systemctl restart tor
383
+    onion_update
384 384
 }
385 385
 
386 386
 function create_tahoelafs_stealth_node {
@@ -671,7 +671,7 @@ function install_tahoelafs {
671 671
     set_completion_param "tahoelafs onion domain" "$TAHOELAFS_ONION_HOSTNAME"
672 672
 
673 673
     create_tahoelafs_web
674
-    systemctl restart tor
674
+    onion_update
675 675
     APP_INSTALLED=1
676 676
 }
677 677