chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commitb9458858b4f6475dd32b83f37c546a9ad2c444b2
tree440f5a03ff1ed119acde716559034cf2dec71b84
parent178d929eab03b49f7286d0844b1bf631f7de3352
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