Ver código fonte

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 8 anos atrás
pai
commit
8ca47c2c30

+ 1
- 1
src/freedombone-app-matrix Ver arquivo

582
 
582
 
583
     MATRIX_ONION_HOSTNAME=$(add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT})
583
     MATRIX_ONION_HOSTNAME=$(add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT})
584
     echo "HiddenServicePort ${MATRIX_HTTP_PORT} 127.0.0.1:${MATRIX_FEDERATION_ONION_PORT}" >> /etc/tor/torrc
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
     if [ ! ${MATRIX_PASSWORD} ]; then
587
     if [ ! ${MATRIX_PASSWORD} ]; then
588
         if [ -f ${IMAGE_PASSWORD_FILE} ]; then
588
         if [ -f ${IMAGE_PASSWORD_FILE} ]; then

+ 1
- 1
src/freedombone-app-pelican Ver arquivo

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

+ 1
- 1
src/freedombone-app-tahoelafs Ver arquivo

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

+ 1
- 1
src/freedombone-utils-onion Ver arquivo

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