mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-24 12:32:56 +00:00

implement c->reboot(c) in the api. Also if the container is not running, return -2. Currently lxc-stop will return 0, so you cannot tell the difference between successfull stopping and noop. Per stgraber's email: - Remove lxc-shutdown - Change lxc-stop so that: * Default behaviour is to call shutdown(), wait 15s for STOPPED, if not STOPPED, print a message to the user and call stop() [ NOTE: actually 60 seconds per followup thread] * We have a -r option to reboot the container (with proper check that the container indeed rebooted within the next 15s) * We have a -s option to shutdown the container without the automatic fallback to stop() * Add a -k option allowing a user to just kill a container (equivalent to old lxc-stop, no shutdown() call and no delay). and update manpages. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
65 lines
1.1 KiB
Makefile
65 lines
1.1 KiB
Makefile
SUBDIRS = examples rootfs
|
|
DIST_SUBDIRS = examples rootfs
|
|
|
|
EXTRA_DIST = \
|
|
FAQ.txt
|
|
|
|
if ENABLE_DOCBOOK
|
|
man_MANS = \
|
|
lxc-attach.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-start.1 \
|
|
lxc-stop.1 \
|
|
lxc-unfreeze.1 \
|
|
lxc-unshare.1 \
|
|
lxc-version.1 \
|
|
lxc-wait.1 \
|
|
\
|
|
lxc.conf.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
|