[lxc-users] lxc-stop doesn't stop centos, waits for the timeout
Michael H. Warfield
mhw at WittsEnd.com
Thu Mar 6 22:51:39 UTC 2014
On Fri, 2014-02-21 at 10:24 -0500, Stéphane Graber wrote:
> 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.
Nice...
I'm now "back from holiday" and back at the console. This makes my list
of things todo. I also saw the comment about Fedora 20 as well. I'll
get both of them and some minor things I had left dangling 2-1/2 weeks
ago.
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 978-7061 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 465 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140306/d73eafb1/attachment.pgp>
More information about the lxc-users
mailing list