supervisor_xiaozhi-server.conf 460 B

12345678910111213141516
  1. [program:xiaozhi-server]
  2. directory=/www/wwwroot/xiaozhi-server
  3. command=/bin/bash -lc "source .venv/bin/activate && PYTHONDONTWRITEBYTECODE=1 python app.py"
  4. autostart=true
  5. autorestart=true
  6. startsecs=5
  7. stopsignal=INT
  8. stopasgroup=true
  9. killasgroup=true
  10. stdout_logfile=/www/wwwlogs/xiaozhi-server.out.log
  11. stderr_logfile=/www/wwwlogs/xiaozhi-server.err.log
  12. stdout_logfile_maxbytes=20MB
  13. stderr_logfile_maxbytes=20MB
  14. stdout_logfile_backups=5
  15. stderr_logfile_backups=5