On Tue, 28 May 2013 17:03:43 -0400 Stéphane Graber <stgra...@ubuntu.com> wrote:
> On 05/28/2013 04:53 PM, Serge Hallyn wrote: > > Quoting Stéphane Graber (stgra...@ubuntu.com): > >> Hey everyone, > >> > >> Thanks for the feedback on my previous autostart proposal. > >> > >> Here's a detailed bullet-point list of what should be done to > >> implement autostarting containers in upstream LXC. > >> > >> Changes to the container config: > >> - ADD: lxc.start.auto (integer, 0 = disabled, 1 = enabled, > >> default: 0) > >> - ADD: lxc.start.delay (integer, time in second, default: 0) > > > > Pardon me, but I'll ask here rather than go back and re-read the > > thread: > > > > Is that a delay after the 'lxc-start -a' before this will be > > started? > > That's a delay to wait after the container as reached RUNNING state. > > So lxc-start will generate a list of all containers it needs to start, > sort them by lxc.start.order, then spawn the first one, check it > reaches RUNNING, when it does, wait <lxc.start.delay> seconds before > continuing with the next one. > > >> - ADD: lxc.start.order (integer, boot order, default: 0) > >> - ADD: lxc.group (string, multi-value, default: empty) > > > > multi-value how: comma-separated, space-separated, or just support > > multiple lxc.group entries? > > Multiple entries, that's why I called it lxc.group and not lxc.groups. > > The command line parameter (-g) is comma separate however. So commas > should be documented as invalid for a group name and so is "any" which > is a special group matching all containers. Hmm, that just made me think of the fact that lxc-monitor takes a regex, should we be consistent about how to specify multiple containers/groups? > > -serge > > > > ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel