|
@@ -10,7 +10,7 @@ cd /data/python
|
|
#关闭接口
|
|
#关闭接口
|
|
ps -ef | grep run_extract_server | grep -v grep | cut -c 9-16| xargs kill -9
|
|
ps -ef | grep run_extract_server | grep -v grep | cut -c 9-16| xargs kill -9
|
|
#启动接口
|
|
#启动接口
|
|
-nohup gunicorn -w 15 --limit-request-fields 0 --limit-request-line 0 -t 1000 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
|
|
|
|
|
|
+nohup /data/anaconda3/envs/py37/bin/gunicorn -w 15 --limit-request-fields 0 --limit-request-line 0 -t 1000 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
|
|
|
|
|
|
#19022启动要素提取接口
|
|
#19022启动要素提取接口
|
|
#激活环境
|
|
#激活环境
|
|
@@ -20,4 +20,4 @@ cd /data/python
|
|
#关闭接口
|
|
#关闭接口
|
|
ps -ef | grep run_extract_server | grep -v grep | cut -c 9-16| xargs kill -9
|
|
ps -ef | grep run_extract_server | grep -v grep | cut -c 9-16| xargs kill -9
|
|
#启动接口
|
|
#启动接口
|
|
-nohup gunicorn -w 6 --limit-request-fields 0 --limit-request-line 0 -t 1000 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
|
|
|
|
|
|
+nohup /data/anaconda3/envs/py37/bin/gunicorn -w 6 --limit-request-fields 0 --limit-request-line 0 -t 1000 -b 0.0.0.0:15030 run_extract_server:app >> extract.log &
|