From 0e88608fc1a403381fe1cb8ca15941c0409f2310 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 13 Mar 2019 19:48:36 +0800 Subject: [PATCH] Update update_centos.sh --- scripts/update_centos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_centos.sh b/scripts/update_centos.sh index 1b89b7baa..1537c3325 100755 --- a/scripts/update_centos.sh +++ b/scripts/update_centos.sh @@ -17,7 +17,7 @@ cd /www/server/mdserver-web/scripts && sh lib.sh pip install -r /www/server/mdserver-web/requirements.txt -cd /www/server/mdserver-web && sh cli.sh start +cd /www/server/mdserver-web && sh cli.sh restart isStart=`ps -ef|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'` port=$(cat data/port.pl)