From 22fb28a946397ec19b247efe170c15b263bf89af Mon Sep 17 00:00:00 2001 From: Bogdan Purcareata Date: Mon, 16 Feb 2015 09:38:36 +0000 Subject: [PATCH 12/12] lxc-busybox: use lxc.rebootsignal = SIGTERM Otherwise lxc-stop -r has no effect on the container. Upstream-Status: Accepted [https://github.com/lxc/lxc/commit/22fb28a946397ec19b247efe170c15b263bf89af] Signed-off-by: Bogdan Purcareata Acked-by: Serge E. Hallyn --- templates/lxc-busybox.in | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index 72531d6..7e05bd6 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -270,6 +270,7 @@ copy_configuration() grep -q "^lxc.rootfs" $path/config 2>/dev/null || echo "lxc.rootfs = $rootfs" >> $path/config cat <> $path/config lxc.haltsignal = SIGUSR1 +lxc.rebootsignal = SIGTERM lxc.utsname = $name lxc.tty = 1 lxc.pts = 1 -- 2.1.4