Looks like tor restart is necessary
This isn't ideal because it means you can't set up the system from an onion address
This commit is contained in:
parent
a45b090e57
commit
8ca47c2c30
|
@ -582,7 +582,7 @@ function install_home_server {
|
|||
|
||||
MATRIX_ONION_HOSTNAME=$(add_onion_service matrix ${MATRIX_PORT} ${MATRIX_ONION_PORT})
|
||||
echo "HiddenServicePort ${MATRIX_HTTP_PORT} 127.0.0.1:${MATRIX_FEDERATION_ONION_PORT}" >> /etc/tor/torrc
|
||||
systemctl reload tor
|
||||
systemctl restart tor
|
||||
|
||||
if [ ! ${MATRIX_PASSWORD} ]; then
|
||||
if [ -f ${IMAGE_PASSWORD_FILE} ]; then
|
||||
|
|
|
@ -525,7 +525,7 @@ function remove_pelican {
|
|||
function_check remove_onion_service
|
||||
remove_onion_service pelican ${PELICAN_ONION_PORT}
|
||||
remove_app pelican
|
||||
systemctl reload tor
|
||||
systemctl restart tor
|
||||
}
|
||||
|
||||
function create_pelican_conf {
|
||||
|
|
|
@ -392,7 +392,7 @@ function remove_tahoelafs {
|
|||
shred -zu /etc/nginx/.htpasswd-tahoelafs
|
||||
fi
|
||||
remove_completion_param "tahoelafs commit"
|
||||
systemctl reload tor
|
||||
systemctl restart tor
|
||||
}
|
||||
|
||||
function install_tahoelafs_to_directory {
|
||||
|
|
|
@ -41,7 +41,7 @@ function add_email_hostname {
|
|||
|
||||
function onion_update {
|
||||
# update so that new onion services appear
|
||||
systemctl reload tor
|
||||
systemctl restart tor
|
||||
}
|
||||
|
||||
function onion_service_exists {
|
||||
|
|
Loading…
Reference in New Issue