centos 7 supervisor配置

1.安装supervisor

yum install supervisor

2.配置
1)创建目录,用于存放进程管理的配置文件

mkdir /etc/supervisor/conf.d

修改/etc/supervisor/supervisord.conf中的include参数,将/etc/supervisor/conf.d目录添加到include中

[include]
files = /etc/supervisor/config.d/*.conf

注意:include在文件的最后

3.启动

supervisord -c /etc/supervisord.conf

开机自启动之类,后续再加~

猜你喜欢

转载自blog.csdn.net/a976134036/article/details/80901495