# !/bin/bash # 启动方式: bash -i e2cc_restart.sh 或 source e2cc_restart.sh # 测试环境 #cd /home/ubuntu/zwj/en2cn #conda activate all_sub_repeat # 线上 cd /home/zhengwenjuan/en2cn source activate en2cn nohup python e2cc_app_monitor.py > logs/monitor.log 2>&1 nohup python E2CC_server.py product > logs/temp.log 2>&1 # gunicorn -w 3 -b 0.0.0.0:10116 E2CC_server:app -t 100 # gunicorn -D -c gconfig.py E2CC_server:app test # gunicorn -D -c gconfig.py E2CC_server:app product