Reload rather than restart tor
This commit is contained in:
parent
ad05156395
commit
e3a246cd4e
|
@ -566,7 +566,7 @@ function install_gogs {
|
||||||
echo $'Added onion site for Gogs'
|
echo $'Added onion site for Gogs'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl reload tor
|
onion_update
|
||||||
|
|
||||||
function_check wait_for_onion_service
|
function_check wait_for_onion_service
|
||||||
wait_for_onion_service 'gogs'
|
wait_for_onion_service 'gogs'
|
||||||
|
|
|
@ -431,7 +431,7 @@ function install_xmpp_main {
|
||||||
echo $'Added onion site for xmpp chat'
|
echo $'Added onion site for xmpp chat'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl restart tor
|
onion_update
|
||||||
wait_for_onion_service 'xmpp'
|
wait_for_onion_service 'xmpp'
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_xmpp/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_xmpp/hostname ]; then
|
||||||
|
|
|
@ -698,7 +698,7 @@ function install_email {
|
||||||
echo $"Added onion site for ${onion_service_name}"
|
echo $"Added onion site for ${onion_service_name}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl restart tor
|
onion_update
|
||||||
function_check wait_for_onion_service
|
function_check wait_for_onion_service
|
||||||
wait_for_onion_service ${onion_service_name}
|
wait_for_onion_service ${onion_service_name}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue