[lxc-users] lxc-stop doesn't stop centos, waits for the timeout

Istvan Balazs balazs.istvan at gmail.com
Sat Feb 22 19:40:43 UTC 2014


testaasdf


2014-02-21 11:22 GMT+01:00 Harald Dunkel <harald.dunkel at aixigo.de>:

> 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
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140222/78580052/attachment.html>


More information about the lxc-users mailing list