Hi Paul, I guess you could do
import supervisor.supervisord as supervisord supervisord.main() See https://github.com/Supervisor/supervisor/blob/master/supervisor/supervisord.py#L347 Tried this? Obviously it will block, so you might want to run this in a separate thread if you'd like to other things while having supervisord running. Cheers, Jens On Tue, Aug 20, 2013 at 4:39 PM, Phillip Oldham <[email protected]>wrote: > Hi guys > > I'm looking to bundle supervisord in with a number of other scripts (using > zc.buildout) to manage their execution, but I'd like users to call my own > script which will configure and run supervisord for them (e.g. point to a > specific config file, the dir to chdir into, etc). Can anyone point me to > any code examples which show how to configure and start supervisord from a > Python script? > > Thanks, > Phill > > _______________________________________________ > Supervisor-users mailing list > [email protected] > https://lists.supervisord.org/mailman/listinfo/supervisor-users > > -- Want to know how full my inbox is? Or how to get in touch with me faster? Or tell me your e-mail is not that important? Then check this out: http://courteous.ly/4WtfZY
_______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
