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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue