Hi Aleksandar, I've found some old README for configuring RedHat LXC containers:
# create an upstart handler for SIGPWR 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 # for RHEL5: edit /etc/inittab to set pf::powerfail:/sbin/shutdown -h now "Power Failure; System Shutting Down" But I am not sure if this is applicable to CentOS 6. Hope this helps Harri _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users