e2cc_restart.sh 491 B

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