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. 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. On Thu, Nov 19, 2015 at 6:32 AM, Chris Withers <[email protected]> wrote: > Hi All, > > I wondered if there were standard ways or, failing that, if anyone had any > ways to get the process configuration used by supervisor to come from a > database rather than a static file on disk? > > cheers, > > Chris > _______________________________________________ > Supervisor-users mailing list > [email protected] > https://lists.supervisord.org/mailman/listinfo/supervisor-users > -- 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 [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
