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

Harald Dunkel harald.dunkel at aixigo.de
Fri Feb 21 10:22:18 UTC 2014


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



More information about the lxc-users mailing list