From e9426843d8d772317f364347002bddb4f3ddc10d Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Thu, 22 Sep 2016 15:00:32 -0300 Subject: 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 --- service/pixelated/application.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'service/pixelated/application.py') 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', -- cgit v1.2.3