summaryrefslogtreecommitdiff
path: root/src/leap/soledad/server/entrypoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/soledad/server/entrypoint.py')
-rw-r--r--src/leap/soledad/server/entrypoint.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/soledad/server/entrypoint.py b/src/leap/soledad/server/entrypoint.py
index 9b9a5e66..7115007b 100644
--- a/src/leap/soledad/server/entrypoint.py
+++ b/src/leap/soledad/server/entrypoint.py
@@ -44,7 +44,14 @@ class SoledadEntrypoint(SoledadSession):
SoledadSession.__init__(self, portal)
+class LocalServicesEntrypoint(SoledadSession):
+
+ def __init__(self):
+ portal = portalFactory(public=False)
+ SoledadSession.__init__(self, portal)
+
# see the comments in application.py recarding why couch state has to be
# initialized when the reactor is running
+
reactor.callWhenRunning(init_couch_state, conf)