On Wed, 26 Feb 2014 09:54:43 +0100
Flo <[email protected]> wrote:

> Any solution for Fedora 20?

This is what I'm doing for Oracle Linux 7, it'll probably work for
Fedora 20 as well (in the container rootfs):

ln -s /usr/lib/systemd/system/halt.target /etc/systemd/system/sigpwr.target
 
> On Wed, Feb 26, 2014 at 9:39 AM, Alvaro Miranda Aguilera
> <[email protected]>wrote:
> 
> > ack'
> >
> >
> > On Sun, Feb 23, 2014 at 8:40 AM, Istvan Balazs
> > <[email protected]>wrote:
> >
> >> testaasdf
> >>
> >>
> >> 2014-02-21 11:22 GMT+01:00 Harald Dunkel <[email protected]>:
> >>
> >> 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
> >>>
> >>> _______________________________________________
> >>> lxc-users mailing list
> >>> [email protected]
> >>> http://lists.linuxcontainers.org/listinfo/lxc-users
> >>>
> >>
> >>
> >> _______________________________________________
> >> lxc-users mailing list
> >> [email protected]
> >> http://lists.linuxcontainers.org/listinfo/lxc-users
> >>
> >
> >
> > _______________________________________________
> > lxc-users mailing list
> > [email protected]
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> >

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

Reply via email to