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:
Bob Mottram 2017-06-02 11:14:19 +01:00
parent a45b090e57
commit 8ca47c2c30
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {