mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 23:04:52 +00:00

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>
77 lines
1.2 KiB
Makefile
77 lines
1.2 KiB
Makefile
SUBDIRS = examples rootfs
|
|
DIST_SUBDIRS = examples rootfs ja api
|
|
|
|
if USE_DOCBOOK2X
|
|
SUBDIRS += ja
|
|
endif
|
|
|
|
if ENABLE_API_DOCS
|
|
SUBDIRS += api
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
FAQ.txt
|
|
|
|
if ENABLE_DOCBOOK
|
|
man_MANS = \
|
|
lxc-attach.1 \
|
|
lxc-autostart.1 \
|
|
lxc-cgroup.1 \
|
|
lxc-checkconfig.1 \
|
|
lxc-checkpoint.1 \
|
|
lxc-clone.1 \
|
|
lxc-console.1 \
|
|
lxc-create.1 \
|
|
lxc-destroy.1 \
|
|
lxc-execute.1 \
|
|
lxc-freeze.1 \
|
|
lxc-info.1 \
|
|
lxc-kill.1 \
|
|
lxc-monitor.1 \
|
|
lxc-netstat.1 \
|
|
lxc-ps.1 \
|
|
lxc-restart.1 \
|
|
lxc-snapshot.1 \
|
|
lxc-start.1 \
|
|
lxc-stop.1 \
|
|
lxc-unfreeze.1 \
|
|
lxc-unshare.1 \
|
|
lxc-user-nic.1 \
|
|
lxc-version.1 \
|
|
lxc-wait.1 \
|
|
\
|
|
lxc.conf.5 \
|
|
lxc-usernet.5 \
|
|
\
|
|
lxc.7
|
|
|
|
if ENABLE_PYTHON
|
|
man_MANS += lxc-device.1
|
|
man_MANS += lxc-ls.1
|
|
man_MANS += lxc-start-ephemeral.1
|
|
else
|
|
man_MANS += legacy/lxc-ls.1
|
|
endif
|
|
|
|
if ENABLE_LUA
|
|
man_MANS += lxc-top.1
|
|
endif
|
|
|
|
%.1 : %.sgml
|
|
$(db2xman) $<
|
|
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
|
|
|
|
%.5 : %.sgml
|
|
$(db2xman) $<
|
|
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
|
|
|
|
%.7 : %.sgml
|
|
$(db2xman) $<
|
|
test "$(shell basename $@)" != "$@" && mv $(shell basename $@) $@ || true
|
|
|
|
lxc-%.sgml : common_options.sgml see_also.sgml
|
|
|
|
clean-local:
|
|
$(RM) manpage.* *.7 *.5 *.1 $(man_MANS)
|
|
endif
|