mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
tor: Run tor-instance-create during setup
This commit is contained in:
1 parent
49106fe8ee
commit
fdac901181
2 files changed
+7
-3
No files matched your search
@@ -46,7 +46,7 @@ def is_running():
|
||||
|
||||
def get_status():
|
||||
"""Return current Tor status."""
|
||||
output = actions.superuser_run('tor@plinth', ['get-status'])
|
||||
output = actions.superuser_run('tor', ['get-status'])
|
||||
status = json.loads(output)
|
||||
|
||||
hs_info = status['hidden_service']
|
||||
|
||||
Reference in new issue
Block a user