From 7ff09d4d659b51107a7902a17b9d3edafc6fb68a Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 24 Feb 2022 15:25:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bash=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hb_server/gunicorn_start.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hb_server/gunicorn_start.sh b/hb_server/gunicorn_start.sh index 3cb7be2..b842dc0 100644 --- a/hb_server/gunicorn_start.sh +++ b/hb_server/gunicorn_start.sh @@ -1,5 +1,4 @@ #!/bin/bash -DJANGODIR=/home/lighthouse/hberp/hb_server -cd &DJANGODIR +cd /home/lighthouse/hberp/hb_server source venv/bin/activate -exec gunicorn -w 5 -b 0.0.0.0:2223 server.wsgi \ No newline at end of file +exec gunicorn -w 5 -b 0.0.0.0:2223 server.wsgi