summaryrefslogtreecommitdiff
path: root/service/pixelated/application.py
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2016-09-22 15:00:32 -0300
committerBruno Wagner <bwagner@riseup.net>2016-09-22 15:00:32 -0300
commite9426843d8d772317f364347002bddb4f3ddc10d (patch)
tree81d377d6dfb49a19f72a67e5740413ee7f8f7c59 /service/pixelated/application.py
parent3db89b8929e5cc782382b4b89001a968f959cfd1 (diff)
Moved all manhole start to manhole init
The start_plugins part of the manhole initialization was being initialized, logging lines and creating a file whenever the user agent was started, as opposed to only when the manhole option is active
Diffstat (limited to 'service/pixelated/application.py')
-rw-r--r--service/pixelated/application.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/pixelated/application.py b/service/pixelated/application.py
index 90a179f0..e5839803 100644
--- a/service/pixelated/application.py
+++ b/service/pixelated/application.py
@@ -101,7 +101,6 @@ def initialize():
def start():
start_async = _start_mode(args, resource, services_factory)
- start_plugins()
add_top_level_system_callbacks(start_async, services_factory)
log.info('Running the reactor')
@@ -213,6 +212,8 @@ def start_site(config, resource):
if config.manhole:
log.info('Starting the manhole on port 8008')
+ start_plugins()
+
multiService = manhole_tap.makeService(dict(namespace=globals(),
telnetPort='8008',
sshPort='8009',