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
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to