开发者

supervisord: dynamically generate config?

Is it possible to dynamically generate the config used by supervisord?

I'm working on a project which needs to define all the services in a开发者_JS百科 central location anyway, so it would be very handy if I could somehow trick supervisord into using that configuration data as well.


I've not tried it, but this Github project claims to do just that:

https://github.com/mnaberez/supervisor_twiddler


Create a new supervisord.conf file or add to an existing one, then follow with a supervisorctl reload to restart the supervisord process and load the new configuration file, or supervisorctl reread if the changes are limited to just some of the processes / groups.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜