On 19/11/2015 16:06, Jonathan Stewmon wrote:
Have you checked out the supervisor_twiddler <https://github.com/mnaberez/supervisor_twiddler> plugin? From its docs:There are times when it is useful to be able to dynamically add and remove process configurations on a supervisord instance. This is the functionality that supervisor_twiddler provides. After restarting supervisord, the changes made by supervisor_twiddler will not persist.
Yep, this was my fallback, I was just wondering if there was anything more complete.
So, with the plugin installed, you could create a process that reads data from an external source and updates the supervisor configuration through the xmlrpclib API. Your config process could either run continuously, or you could set it up as an event listener <http://supervisord.org/events.html#configuring-an-event-listener> to have supervisor run it periodically.
What event would you recommend it listens to? cheers, Chris _______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
