I was thinking you'd just listen for a tick to periodically check for changed.
On Friday, November 20, 2015, Chris Withers <ch...@withers.org> wrote: > 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 > -- This e-mail, including attachments, contains confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. The reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.
_______________________________________________ Supervisor-users mailing list Supervisor-users@lists.supervisord.org https://lists.supervisord.org/mailman/listinfo/supervisor-users