fix existing tor daemon not having closed ephemeral onions and work on mail test
This commit is contained in:
parent
dfc42953f7
commit
04133035ba
8 changed files with 74 additions and 3 deletions
|
@ -23,6 +23,7 @@ import communicator
|
|||
from onionrplugins import onionrevents as events
|
||||
from netcontroller import NetController
|
||||
from netcontroller import get_open_port
|
||||
from netcontroller import clean_ephemeral_services
|
||||
from onionrutils import localcommand
|
||||
from utils import identifyhome
|
||||
import filepaths
|
||||
|
@ -163,6 +164,8 @@ def daemon():
|
|||
events.event('daemon_start')
|
||||
communicator.startCommunicator(shared_state)
|
||||
|
||||
clean_ephemeral_services()
|
||||
|
||||
if not offline_mode and not use_existing_tor:
|
||||
net.killTor()
|
||||
else:
|
||||
|
|
|
@ -124,6 +124,7 @@ def show_details():
|
|||
active user ID in mnemonic form
|
||||
"""
|
||||
details = {
|
||||
'Data directory': identifyhome.identify_home(),
|
||||
'Node Address': gethostname.get_hostname(),
|
||||
'Public Key': onionrcrypto.pub_key.replace('=', ''),
|
||||
'Human-readable Public Key': mnemonickeys.get_human_readable_ID()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue