Quoting Johannes Graumann (johannes_graum...@web.de): > Serge Hallyn wrote: > > > Quoting Johannes Graumann > > (johannes_graum...@web.de): > >> Hi, > >> > >> Is using "lxc-stop -n <CONTAINER>" on a host equivalent to running > >> "shutdown" within the container, meaning services are put to rest > >> gracefully etc? > >> > >> I'm in the process of scripting backup infrastructure for containers > >> running DBs (plone, mysql) and would like to avoid db corruption ... > >> > >> Thanks for any pointers. > > > > Depends on your lxc version. > > > > If yours does, then the lxc-stop manpage will have text like: > > > > By default, it will request a clean shutdown of the container (by > > sending SIGPWR to the container), wait 60 seconds for the container to > > exit, and returns. > > As my debian has lxc version: 0.9.0.alpha3 and the man page contains no such > text, I guess it just kills ... also takes nowhere close to 60 sec... > > I guess I will have to ask for an explicit shutdown then ...
Try lxc-shutdown? ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users