Reload rather than restart tor

This commit is contained in:
Bob Mottram 2016-10-18 10:48:57 +01:00
parent ad05156395
commit e3a246cd4e
3 changed files with 3 additions and 3 deletions

View File

@ -566,7 +566,7 @@ function install_gogs {
echo $'Added onion site for Gogs'
fi
systemctl reload tor
onion_update
function_check wait_for_onion_service
wait_for_onion_service 'gogs'

View File

@ -431,7 +431,7 @@ function install_xmpp_main {
echo $'Added onion site for xmpp chat'
fi
systemctl restart tor
onion_update
wait_for_onion_service 'xmpp'
if [ ! -f /var/lib/tor/hidden_service_xmpp/hostname ]; then

View File

@ -698,7 +698,7 @@ function install_email {
echo $"Added onion site for ${onion_service_name}"
fi
systemctl restart tor
onion_update
function_check wait_for_onion_service
wait_for_onion_service ${onion_service_name}