From: Bogdan Purcareata Date: Mon, 16 Feb 2015 09:38:36 +0000 (+0000) Subject: lxc-busybox: use lxc.rebootsignal = SIGTERM X-Git-Tag: lxc-2.0.0.beta1~357 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22fb28a946397ec19b247efe170c15b263bf89af;p=thirdparty%2Flxc.git lxc-busybox: use lxc.rebootsignal = SIGTERM Otherwise lxc-stop -r has no effect on the container. Signed-off-by: Bogdan Purcareata Acked-by: Serge E. Hallyn --- diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index 72531d6bd..7e05bd688 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