开发者

supervisord: dynamically generate config?

开发者 https://www.devze.com 2023-02-05 02:55 出处:网络
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

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

精彩评论

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