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

Michael Biebl mbiebl at gmail.com
Mon Jul 18 12:00:29 UTC 2016


2016-07-18 13:54 GMT+02:00 Lennart Poettering <lennart at poettering.net>:
> 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).

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?


More information about the systemd-devel mailing list