关于Fedora配置错误的Supervisord

时间:2014-03-26 18:17:12

标签: fedora supervisord supervisor

我正在尝试在我的Fedora 17上安装supervisor,使用此链接作为参考:

https://www.digitalocean.com/community/articles/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps

除了一个微不足道的问题(我相信)之外,它的工作正常。

  

保存在/etc/supervisor/conf.d/long_script.conf中的脚本的简单配置看起来像这样(...)

我的问题是,我只有文件/目录:

/etc/supervisord/
/etc/supervisord.conf

我试图在/ etc / supervisord /下创建conf.d目录。我已将配置文件放入/etc/supervisord/conf.d/和/ etc / supervisord /以及/ etc / sueprvisor /。

尽管我在发布命令时付出了努力:

supervisortctl reread

我收到:

No config updates to processes

任何人都知道我可能做错了什么?提前谢谢。

2 个答案:

答案 0 :(得分:6)

(我在Fedora 20上)如果你看看底部的/etc/supervisord.conf你会看到

[include]
files = supervisord.d/*.ini

因此,在Fedora上,您的配置文件应该以{{1​​}}而不是.ini结尾。我遇到同样的问题并在检测到内容后运行.conf

答案 1 :(得分:0)

无需专门为您的配置文件创建文件夹,您可以使用-c /path/to/your/file--configuration=/path/to/your/file选项指定其路径。

来源:http://supervisord.org/running.html