#项目路径在/data/python/BiddingKG #11022启动要素提取接口 #激活环境 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 & #19022启动要素提取接口 #激活环境 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 &