]> git.ipfire.org Git - thirdparty/lxc.git/commit
Add lxc-shutdown script
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 31 Jul 2012 14:04:33 +0000 (16:04 +0200)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Tue, 31 Jul 2012 14:04:33 +0000 (16:04 +0200)
commit72be4f89b0564bbecab3c5dc934197aefcecccc3
tree996bdf5005d037514339d85d9b92dc0d3ee3d572
parent427bffc7a10c9015dc78ef52543f7b8cb9414359
Add lxc-shutdown script

It optionally waits (an optional timeout # of seconds) for the container to
be STOPPED.  If given -r, it reboots the container (and exits immediately).
I decided to add the timeout after all because it's harder to finagle into
an upstart post-stop script than a full bash script.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
configure.ac
doc/lxc-shutdown.sgml.in [new file with mode: 0644]
lxc.spec.in
src/lxc/Makefile.am
src/lxc/lxc-shutdown.in [new file with mode: 0644]