Skip to content
Snippets Groups Projects
Commit c26f366e authored by Bob Mottram's avatar Bob Mottram
Browse files

Better handling of toxcore logging

parent 130393d2
No related branches found
No related tags found
No related merge requests found
...@@ -701,17 +701,27 @@ function install_tox { ...@@ -701,17 +701,27 @@ function install_tox {
mesh_tox_avahi mesh_tox_avahi
mesh_tox_client mesh_tox_client
else else
${PROJECT_NAME}-logging on avoid_tor_restart=
install_tox_node
if [ -f $IMAGE_PASSWORD_FILE ]; then if [ -f $IMAGE_PASSWORD_FILE ]; then
if [[ $ONION_ONLY != 'no' ]]; then if [[ $ONION_ONLY != 'no' ]]; then
${PROJECT_NAME}-logging off --onion avoid_tor_restart=1
else
${PROJECT_NAME}-logging off
fi fi
fi
if [ $avoid_tor_restart ]; then
${PROJECT_NAME}-logging on --onion
else
${PROJECT_NAME}-logging on
fi
install_tox_node
if [ $avoid_tor_restart ]; then
${PROJECT_NAME}-logging off --onion
else else
${PROJECT_NAME}-logging off ${PROJECT_NAME}-logging off
fi fi
tox_avahi tox_avahi
install_tox_client install_tox_client
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment