当前位置:网站首页 / Linux / 正文

CentOS安装Supervisor守护进程

时间:2018年03月25日 | 作者 : liuhui | 分类 : Linux | 浏览: 6614次 | 评论 0

阿里云限量代金券 | 此广告位出租25元/月

安装

centos6.9安装方法

easy_install supervisor

centos7安装方法

yum install supervisor

在/etc/目录下建立配置文件

echo_supervisord_conf > /etc/supervisord.conf

修改配置文件

vi /etc/supervisord.conf

在末尾加入配置信息

一般配置信息都是[program:xxx]开头的

使用

直接启动supervisor

supervisord

或指定配置文件启动

supervisord -c /etc/supervisord.conf

常用命令

supervisorctl status  #查看状态
supervisorctl stop xxx #停止xxx
supervisorctl start xxx #启动xxx
supervisorctl restart xxx #重启xxx


推荐您阅读更多有关于“”的文章

猜你喜欢

网站分类
关注电脑博士
友情链接

分享:

支付宝

微信