]> git.proxmox.com Git - mirror_lxc.git/commit - doc/lxc-autostart.sgml.in
Add lxc-autostart
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 16 Dec 2013 20:32:47 +0000 (15:32 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 19 Dec 2013 20:56:25 +0000 (21:56 +0100)
commita6adab20ff4b58887ff1d4314c5736f54e139386
treee64b2d10376446a42f48e250c4c1c4f891eef200
parentcfd149a646bf7ada7e896e07494e5cde0859e437
Add lxc-autostart

This introduces a new lxc-autostart binary (and associated manpage)
which will let you start/shutdown/kill/restart any container that's
marked as lxc.start.auto=1. It respects the lxc.start.delay value,
sorts by lxc.start.order and filters by lxc.group.

By default it'll affect all containers that DO NOT have lxc.group
set. If -g is specified, ONLY containers in those group will be
affected. To have a command applied to all containers, the -a
argument can be used.

A -L flag is also offered for distributions wishing to start the
containers themselves while still using LXC's calculated order and
wait delays. Instead of performing the action, it'll print the container
name and (if relevant for the action) the wait time.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
.gitignore
configure.ac
doc/Makefile.am
doc/lxc-autostart.sgml.in [new file with mode: 0644]
src/lxc/Makefile.am
src/lxc/arguments.c
src/lxc/arguments.h
src/lxc/lxc_autostart.c [new file with mode: 0644]