From 1dbcf4e3aba96024c06b3471632faac81f16472e Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 24 Jan 2019 11:25:13 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E6=95=B0=E6=8D=AE=E5=BA=93make=20mi?= =?UTF-8?q?gration=E7=A7=BB=E5=8A=A8=E5=88=B0gunicorn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jms b/jms index a72849124..afd1b2552 100755 --- a/jms +++ b/jms @@ -128,6 +128,7 @@ def parse_service(s): def start_gunicorn(): print("\n- Start Gunicorn WSGI HTTP Server") + prepare() service = 'gunicorn' bind = '{}:{}'.format(HTTP_HOST, HTTP_PORT) log_format = '%(h)s %(t)s "%(r)s" %(s)s %(b)s ' @@ -220,7 +221,6 @@ def start_service(s): print(time.ctime()) print('Jumpserver version {}, more see https://www.jumpserver.org'.format( __version__)) - prepare() services_handler = { "gunicorn": start_gunicorn,