+ added check for Tor to be ready before openhome works
* fixed not being able to stop Onionr when awaiting onboarding survey to be finished
This commit is contained in:
parent
3bb51a16e1
commit
353b2f1c63
5 changed files with 44 additions and 12 deletions
|
@ -244,7 +244,10 @@ class OnionrCommunicatorDaemon:
|
|||
|
||||
while not config.get('onboarding.done', True) and \
|
||||
not self.shutdown:
|
||||
time.sleep(2)
|
||||
try:
|
||||
time.sleep(2)
|
||||
except KeyboardInterrupt:
|
||||
self.shutdown = True
|
||||
|
||||
# Main daemon loop, mainly for calling timers,
|
||||
# don't do any complex operations here to avoid locking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue