From 8c0cbaac3b7d3c8244fa9239b24f1f26ad8109e6 Mon Sep 17 00:00:00 2001 From: kakwa Date: Fri, 31 Jul 2015 20:07:45 +0200 Subject: [PATCH] turnoff the check for configuration file --- scripts/ldapcherryd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/ldapcherryd b/scripts/ldapcherryd index 6972003..003f1be 100755 --- a/scripts/ldapcherryd +++ b/scripts/ldapcherryd @@ -51,6 +51,9 @@ def start(configfile=None, daemonize=False, environment=None, engine = cherrypy.engine + # Turn off autoreload + cherrypy.config.update({'engine.autoreload.on': False}) + if environment is not None: cherrypy.config.update({'environment': environment}) @@ -73,8 +76,6 @@ def start(configfile=None, daemonize=False, environment=None, "scgi options.", 'ENGINE') sys.exit(1) elif fastcgi or scgi or cgi: - # Turn off autoreload when using *cgi. - cherrypy.config.update({'engine.autoreload_on': False}) # Turn off the default HTTP server (which is subscribed by default). cherrypy.server.unsubscribe()