luojiehua 2 anni fa
parent
commit
e981f93570
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      BiddingKG/readme/start.md

+ 4 - 0
BiddingKG/readme/start.md

@@ -7,6 +7,8 @@
 source activate py37
 #切换目录
 cd /data/python
+#关闭接口
+ps -ef | grep run_extract_server | grep -v grep | cut -c 9-16| xargs kill -9
 #启动接口
 nohup gunicorn -w 11 --limit-request-fields 0 --limit-request-line 0 -t 1000 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
 
@@ -15,5 +17,7 @@ nohup gunicorn -w 11 --limit-request-fields 0 --limit-request-line 0 -t 1000 -b
 source activate py37
 #切换目录
 cd /data/python
+#关闭接口
+ps -ef | grep run_extract_server | grep -v grep | cut -c 9-16| xargs kill -9
 #启动接口
 nohup gunicorn -w 10 --limit-request-fields 0 --limit-request-line 0 -t 1000 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &