Try to avoid problems when logged in via onion address

This commit is contained in:
Bob Mottram 2016-11-20 23:23:28 +00:00
parent d9bde6c928
commit 130393d2a5
1 changed files with 9 additions and 1 deletions

View File

@ -703,7 +703,15 @@ function install_tox {
else
${PROJECT_NAME}-logging on
install_tox_node
${PROJECT_NAME}-logging off
if [ -f $IMAGE_PASSWORD_FILE ]; then
if [[ $ONION_ONLY != 'no' ]]; then
${PROJECT_NAME}-logging off --onion
else
${PROJECT_NAME}-logging off
fi
else
${PROJECT_NAME}-logging off
fi
tox_avahi
install_tox_client
fi