一、安装supervisor

1、安装supervisor

[root@localhost ~]# pip install supervisor

2、测试supervisor安装是否成功

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
[root@localhost ~]# echo_supervisord_conf

3、卸载supervisor

[root@localhost ~]# pip uninstall supervisor

supervisor安装完成后会生成三个执行程序:supervisortd、supervisorctl、echo_supervisord_conf。分别是supervisor的守护进程服务(用于接收进程管理命令)、客户端(用于和守护进程通信,发送管理进程的指令)、生成初始配置文件程序。

二、配置supervisord

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄