]> git.proxmox.com Git - mirror_lxc.git/commit
add lxc.haltsignal for soft shutdown
authorDwight Engen <dwight.engen@oracle.com>
Mon, 6 Jan 2014 17:30:02 +0000 (12:30 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 6 Jan 2014 17:49:44 +0000 (12:49 -0500)
commitf0f1d8c076ae93d8ecf735c2eeae471e27ca6abd
treeda4305635301a8cb316d0c36e4799872bcb5f9d0
parent19a85f1f8ffb67afd8df14173e624260bd398f55
add lxc.haltsignal for soft shutdown

- use this in the busybox template since busybox's init expects
  to receive SIGUSR1 to halt

- fix lxc.stopsignal to be output by write_config so lxcapi_clone()
  and lxcapi_save_config() will output it

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
doc/lxc-stop.sgml.in
doc/lxc.conf.sgml.in
src/lxc/conf.h
src/lxc/confile.c
src/lxc/lxccontainer.c
templates/lxc-busybox.in