]> git.proxmox.com Git - mirror_lxc.git/commit
Add SIGINT and SIGPWR handler in lxc-debian
authorStéphane Graber <stgraber@ubuntu.com>
Thu, 6 Sep 2012 14:57:20 +0000 (10:57 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 25 Oct 2012 08:29:36 +0000 (10:29 +0200)
commit6bf8daf9a2aa0d226bfd5b60c4b1580d17105320
tree5a40b9a2f4b93f9792e177c2b0bc528380df552e
parent70542ef9a1d09ce87c7d40ac5ea1706860edec74
Add SIGINT and SIGPWR handler in lxc-debian

This adds a SIGINIT and SIGPWR handler in the default inittab for
the Debian template. This allows lxc-shutdown/lxc-restart and their API calls
to properly shutdown or reboot the container.

Signed-off-by: Rex Tsai (蔡志展) <rex.tsai@canonical.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-debian.in