I hadn't thought of using process groups since we don;'t use them at all. I'll have to investigate this. Thanks for the info...
On Tue, Mar 12, 2013 at 12:17 PM, John Wong <[email protected]> wrote: > Can you use group? > http://supervisord.org/configuration.html#group-x-section-settings > > Besides killing fork children, I think you can define a set or programs in > a group. > Yet, the only thing I haven't seen (probably just missed it ) in the doc > is killing on condition as a group. > > Maybe you can kill if one program EXIT for example, the rest of the > members will STOPPED / EXIT as well. > Haven't tried that. > > > > On Tue, Mar 12, 2013 at 12:54 PM, Peter Steele <[email protected]> wrote: > >> I believe I know the answer to this question but I'll ask it anyway to be >> sure. We user supervisord to launch and monitor a set of processes. In some >> cases, we have processes that are dependent on other processes, and would >> like to have a process be automatically killed if its dependent process >> dies unexpectedly. There doesn't seem to be anyway to set this up in >> supervisor. The best alternative I can think of is to use the event >> mechanism and have a process subscribe to the events associated with its >> dependent processes. >> >> >> _______________________________________________ >> Supervisor-users mailing list >> [email protected] >> https://lists.supervisord.org/mailman/listinfo/supervisor-users >> >> >
_______________________________________________ Supervisor-users mailing list [email protected] https://lists.supervisord.org/mailman/listinfo/supervisor-users
