Dear Fajar,
i just googled http://www.makelinux.net/man/7/P/power-status-changed .
There's written:
This event is not handled in the default Upstart configuration.
For control-alt-delete, the corresponding sentence states:
In the default Upstart configuration handling of this event is provided
by the /etc/init/control-alt-delete.conf task which runs the shutdown(8) tool.
This sounds to me like in the current version of upstart the suggested patches
to add a SIGPWR handler are included and there's "just" a script missing. I
don't have a Ubuntu available; maybe a simple power-status-changed.conf will
already do all the magic???
Guido
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users