1. 安装

pip install supervisor

 

2.配置supervisord.conf 

[program:#自定义名称]
command=#命令行
autostart=true
autorestart=true

stderr_logfile=/var/log/err.log
stdout_logfile=/var/log/out.log
stopsignal=INT

[supervisord]
pidfile=/var/run/supervisord.pid
logfile=/var/log/supervisord.log

 

3. 启动

supervisord -c supervisord.conf

  

相关文章:

  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
猜你喜欢
  • 2022-12-23
  • 2021-10-04
  • 2022-12-23
  • 2022-02-07
  • 2021-07-17
  • 2021-10-20
  • 2022-12-23
相关资源
相似解决方案