supervisor.ini 621 B

12345678910111213141516
  1. [program:eip_ai_v0.2_async]
  2. directory=/home/zhuzhiqiang/projects/eip_ai_v0.2_async/eip-ai
  3. command=/home/hezhiguo/.virtualenvs/eip-ai-async-py387/bin/python3 /home/hezhiguo/.virtualenvs/eip-ai-async-py387/bin/gunicorn api_main_8000:app -c gunicorn_config.py
  4. autostart=true
  5. autorestart=true
  6. startsecs=5
  7. loglevel=info
  8. user=root
  9. stdout_logfile=/home/zhuzhiqiang/projects/eip_ai_v0.2_async/logs/supervisor/eip_ai_out.log
  10. stdout_logfile_maxbytes=1024MB
  11. stdout_logfile_backups=2
  12. stderr_logfile=/home/zhuzhiqiang/projects/eip_ai_v0.2_async/logs/supervisor/eip_ai_err.log
  13. stderr_logfile_maxbytes=1024MB
  14. stderr_logfile_backups=2