2016-07-18 13:54 GMT+02:00 Lennart Poettering <lenn...@poettering.net>: > On Mon, 18.07.16 13:37, Michael Biebl (mbi...@gmail.com) wrote: > >> Apparently SIGPWR is used by lxc-stop to shut down LXC containers. >> What interface would you recommend instead? >> >> https://lists.linuxcontainers.org/pipermail/lxc-users/2015-May/009279.html > > Is that actually really used? I mean, upstart is pretty much dead > afaics... > > systemd since day one shuts down cleanly on SIGRTMIN+4, and it's > probably what a container manager should use (it is what machined > uses). See the "Signals" section in systemd(1).
lxc containers require sigpwr.target to be hooked up properly, otherwise lxc-stop does not shutdown the container. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel