我注意到我的服务器有supervisord.conf和supervisor.conf位于: /etc/supervisord.conf /etc/supervisor/supervisor.conf
安装的包是:supervisor 3.2.0-2
操作系统版本:Ubuntu 14.04/16.04
运行lsof|grep supervisor显示没有任何进程都没有打开
有谁知道其中的区别吗?哪一个conf 文件是要发生的?
运行supervisord或时supervisorctl,程序将首先检查当前工作目录($CWD或调用命令的目录)中的文件supervisord.conf。当不存在时,它将寻找/etc/supervisord.conf. 该文档将告诉您更多相关信息:http ://supervisord.org/configuration.html
您还可以使用 -c 标志指定配置文件的确切位置:supervisord -c path/to/your/file.conf。
所以,回答你的问题:/etc/supervisord.conf是一个。但是,如果您想使用其他配置文件,您可以运行supervisord -c /etc/supervisor/supervisor.conf.
| 归档时间: |
|
| 查看次数: |
5657 次 |
| 最近记录: |