Following the model of lxc.haltsignal and lxc.stopsignal, implement a lxc.rebootsignal option for a customized reboot signal.
Required for Busybox containers, since Busybox init expects SIGTERM to reboot the container [1]. Sending SIGINT to a Busybox running container has no effect. Sent against upstream master. [1] http://git.busybox.net/busybox/tree/init/init.c#n807 Bogdan Purcareata (3): add lxc.rebootsignal document lxc.rebootsignal lxc-busybox: use lxc.rebootsignal = SIGTERM doc/lxc-stop.sgml.in | 4 +- doc/lxc.container.conf.sgml.in | 106 +++++++++++++++++++++++++---------------- src/lxc/conf.h | 1 + src/lxc/confile.c | 14 ++++++ src/lxc/lxccontainer.c | 5 +- templates/lxc-busybox.in | 1 + 6 files changed, 87 insertions(+), 44 deletions(-) -- 2.1.4 _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel