安装:
pip install supervisor

创建配置文件:
echo_supervisord_conf > /etc/supervisord.conf

编辑配置文件:
在myweb节点输入需要启动的命令

进程管理工具supervisor

 

 命令:

【启动supervisord】

supervisord -c /etc/supervisord.conf   或  supervisord 

【停止supervisord】
supervisorctl shutdown
【重启supervisord】
 supervisorctl -c supervisor.conf reload



相关文章:

  • 2021-12-23
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-20
  • 2021-10-26
  • 2022-02-26
  • 2021-07-11
  • 2021-09-01
相关资源
相似解决方案