]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: use `systemctl exit` to kill the user manager (#8648)
authorFilipe Brandenburger <filbranden@google.com>
Wed, 4 Apr 2018 09:14:37 +0000 (02:14 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 4 Apr 2018 09:14:37 +0000 (11:14 +0200)
commitadd384dd4d2b96db6ace5ad9c52b1dd7553ebec2
tree68b04884669547ba3449ca5f63dbf44c05c428ce
parent709e86f18f895496457466e3d4c6f6853c7ba8ec
units: use `systemctl exit` to kill the user manager (#8648)

Use `systemctl --user --force exit` to implement the systemd-exit
user service.

This removes our dependence on an external `kill` binary and the
concerns about whether they recognize SIGRTMIN+n by name or what their
interpretation of SIGRTMIN is.

Tested: `systemctl --user start systemd-exit.service` kills the
  `systemd --user` instance for my user.
meson.build
units/user/systemd-exit.service.in