部署后,任务没有持久化,所有用supervisor 进行进程管理

安装 pip install supervisor

 创建 配置文件

  

[program:testplatform-flower]
command = uwsgi --ini testplatform.ini
autostart=true
autorestart=true
stdout_logfile = /home/intefacetestplatform/uwsgi_supervisor.log
user = root
[supervisord]
[supervisorctl]

 

后面的两个必须加上去, 编码需要ansi编码

相关文章:

  • 2021-08-10
  • 2021-07-09
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-10-14
  • 2022-12-23
相关资源
相似解决方案