mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
tahoe: Show port forwarding info
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
a3adf134b9
commit
1cee306dcb
@ -43,6 +43,11 @@ short_description = _('Distributed File Storage')
|
||||
|
||||
service = None
|
||||
|
||||
port_forwarding_info = [
|
||||
('TCP', 3456),
|
||||
('TCP', 5678),
|
||||
]
|
||||
|
||||
tahoe_home = '/var/lib/tahoe-lafs'
|
||||
introducer_name = 'introducer'
|
||||
storage_node_name = 'storage_node'
|
||||
|
||||
@ -55,6 +55,7 @@ class TahoeServiceView(ServiceView):
|
||||
template_name = 'tahoe-post-setup.html'
|
||||
description = tahoe.description
|
||||
diagnostics_module_name = 'tahoe'
|
||||
port_forwarding_info = tahoe.port_forwarding_info
|
||||
|
||||
def dispatch(self, request, *args, **kwargs):
|
||||
if not tahoe.is_setup():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user