Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread Timothy Jones
-users@lists.supervisord.org Subject: Re: [Supervisor-users] Adding a program dynamically On Mon, Jun 27, 2011 at 3:33 PM, Timothy Jones wrote: > Hi Jean-Lou.  I'm not aware of a way to do that either. > > > > But I have a similar request... I'd like to be able to modify a &#

Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread Grzegorz Nosek
W dniu 27.06.2011 21:41, Jean-Lou Dupont pisze: So I could update the configuration file and use the "startProcess" RPC method to perform this? ( I don't see an "update" or "reread" method in http://supervisord.org/api.html#process-control ) Have a look at supervisorctl.DefaultControllerPlugin.

Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread Jean-Lou Dupont
So I could update the configuration file and use the "startProcess" RPC method to perform this? ( I don't see an "update" or "reread" method in http://supervisord.org/api.html#process-control ) On Mon, Jun 27, 2011 at 3:37 PM, Grzegorz Nosek wrote: > W dniu 27.06.2011 21:06, Jean-Lou Dupont pisz

Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread Grzegorz Nosek
W dniu 27.06.2011 21:06, Jean-Lou Dupont pisze: Thanks for the quick answer. Is it possible to accomplish through the RPC interface too? Yes. supervisorctl is basically an RPC client. Best regards, Grzegorz Nosek ___ Supervisor-users mailing list S

Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread David Birdsong
upervisord.org] On Behalf Of > Jean-Lou Dupont > Sent: Monday, June 27, 2011 3:03 PM > To: supervisor-users@lists.supervisord.org > Subject: [Supervisor-users] Adding a program dynamically > > > > Hi all, > >   Is it possible to dynamically add

Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread Timothy Jones
Jean-Lou Dupont Sent: Monday, June 27, 2011 3:03 PM To: supervisor-users@lists.supervisord.org Subject: [Supervisor-users] Adding a program dynamically Hi all, Is it possible to dynamically add a "program" to the configuration without restarting all the programs supervised? Thanks

Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread Jean-Lou Dupont
Thanks for the quick answer. Is it possible to accomplish through the RPC interface too? On Mon, Jun 27, 2011 at 3:04 PM, David Birdsong wrote: > Yes: > > supervisorctl update > you can preview the effects of what this would accomplish with > supervisorctl reread > > On Mon, Jun 27, 2011 at 3:02

Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread David Birdsong
Yes: supervisorctl update you can preview the effects of what this would accomplish with supervisorctl reread On Mon, Jun 27, 2011 at 3:02 PM, Jean-Lou Dupont wrote: > Hi all, >   Is it possible to dynamically add a "program" to the configuration without > restarting all the programs supervised?

Re: [Supervisor-users] Adding a program dynamically

2011-06-27 Thread Grzegorz Nosek
W dniu 27.06.2011 21:02, Jean-Lou Dupont pisze: Hi all, Is it possible to dynamically add a "program" to the configuration without restarting all the programs supervised? Yup, edit the config file(s) and run supervisorctl update. Unchanged programs aren't restarted. Best regards, Grzegor

[Supervisor-users] Adding a program dynamically

2011-06-27 Thread Jean-Lou Dupont
Hi all, Is it possible to dynamically add a "program" to the configuration without restarting all the programs supervised? Thanks. Jean-Lou. ___ Supervisor-users mailing list Supervisor-users@lists.supervisord.org http://lists.supervisord.org/mailman/li