浏览代码

Looks like tor restart is necessary

This isn't ideal because it means you can't set up the system from an onion address
Bob Mottram 7 年前
父节点
当前提交
8ca47c2c30
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1
    1
      src/freedombone-app-matrix
  2. 1
    1
      src/freedombone-app-pelican
  3. 1
    1
      src/freedombone-app-tahoelafs
  4. 1
    1
      src/freedombone-utils-onion

+ 1
- 1
src/freedombone-app-matrix 查看文件

@@ -582,7 +582,7 @@ function install_home_server {
582 582
 
583 583
     MATRIX_ONION_HOSTNAME=$(add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT})
584 584
     echo "HiddenServicePort ${MATRIX_HTTP_PORT} 127.0.0.1:${MATRIX_FEDERATION_ONION_PORT}" >> /etc/tor/torrc
585
-    systemctl reload tor
585
+    systemctl restart tor
586 586
 
587 587
     if [ ! ${MATRIX_PASSWORD} ]; then
588 588
         if [ -f ${IMAGE_PASSWORD_FILE} ]; then

+ 1
- 1
src/freedombone-app-pelican 查看文件

@@ -525,7 +525,7 @@ function remove_pelican {
525 525
     function_check remove_onion_service
526 526
     remove_onion_service pelican ${PELICAN_ONION_PORT}
527 527
     remove_app pelican
528
-    systemctl reload tor
528
+    systemctl restart tor
529 529
 }
530 530
 
531 531
 function create_pelican_conf {

+ 1
- 1
src/freedombone-app-tahoelafs 查看文件

@@ -392,7 +392,7 @@ function remove_tahoelafs {
392 392
         shred -zu /etc/nginx/.htpasswd-tahoelafs
393 393
     fi
394 394
     remove_completion_param "tahoelafs commit"
395
-    systemctl reload tor
395
+    systemctl restart tor
396 396
 }
397 397
 
398 398
 function install_tahoelafs_to_directory {

+ 1
- 1
src/freedombone-utils-onion 查看文件

@@ -41,7 +41,7 @@ function add_email_hostname {
41 41
 
42 42
 function onion_update {
43 43
     # update so that new onion services appear
44
-    systemctl reload tor
44
+    systemctl restart tor
45 45
 }
46 46
 
47 47
 function onion_service_exists {