Quoting Fajar A. Nugraha (l...@fajar.net):
> On Wed, Mar 14, 2012 at 2:04 AM, Serge Hallyn
> <serge.hal...@canonical.com> wrote:
> > Quoting Papp Tamas (tom...@martos.bme.hu):
> 
> >> One more, I think very important question.
> >> Still there is no nice stop method in init configuration:
> >>
> >>
> >>      for f in /etc/lxc/auto/*; do
> >>          c="$(basename $f .conf)"
> >>          lxc-stop -n $c || true
> >>      done
> >
> > Sorry, I don't understand.  What you show is done in /etc/init/lxc.conf.
> > What is your question about it?
> 
> I think he means "can you use something there that gracefully shuts
> down a container, instead of forcing it to stop". In xen there's "xm
> shutdown" vs "xm destroy", while in lxc there's only "lxc-stop", and
> no (e.g.) "lxc-shutdown",

Ah, I see.

Once lxc-attach is supported we should do that, yes.

-serge

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to