[lxc-users] lxc-stop doesn't stop centos, waits for the timeout
Stéphane Graber
stgraber at ubuntu.com
Fri Feb 21 15:24:16 UTC 2014
On Fri, Feb 21, 2014 at 11:22:18AM +0100, Harald Dunkel wrote:
> Found it: upstart ignores SIGPWR by default.
>
> Fix:
>
> cat <<EOF >/etc/init/power-status-changed.conf
> # power-status-changed - shutdown on SIGPWR
> #
> start on power-status-changed
>
> exec /sbin/shutdown -h now "SIGPWR received"
> EOF
>
>
> Regards
> Harri
Sounds like Michael may want to include that into the Centos template.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140221/6d6f3251/attachment.pgp>
More information about the lxc-users
mailing list