mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +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
|
service = None
|
||||||
|
|
||||||
|
port_forwarding_info = [
|
||||||
|
('TCP', 3456),
|
||||||
|
('TCP', 5678),
|
||||||
|
]
|
||||||
|
|
||||||
tahoe_home = '/var/lib/tahoe-lafs'
|
tahoe_home = '/var/lib/tahoe-lafs'
|
||||||
introducer_name = 'introducer'
|
introducer_name = 'introducer'
|
||||||
storage_node_name = 'storage_node'
|
storage_node_name = 'storage_node'
|
||||||
|
|||||||
@ -55,6 +55,7 @@ class TahoeServiceView(ServiceView):
|
|||||||
template_name = 'tahoe-post-setup.html'
|
template_name = 'tahoe-post-setup.html'
|
||||||
description = tahoe.description
|
description = tahoe.description
|
||||||
diagnostics_module_name = 'tahoe'
|
diagnostics_module_name = 'tahoe'
|
||||||
|
port_forwarding_info = tahoe.port_forwarding_info
|
||||||
|
|
||||||
def dispatch(self, request, *args, **kwargs):
|
def dispatch(self, request, *args, **kwargs):
|
||||||
if not tahoe.is_setup():
|
if not tahoe.is_setup():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user