[systemd-devel] sigpwr.target - intended usage?

Lennart Poettering lennart at poettering.net
Mon Jul 18 11:54:26 UTC 2016


On Mon, 18.07.16 13:37, Michael Biebl (mbiebl at 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).

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list