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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to