From: Filipe Brandenburger Date: Wed, 4 Apr 2018 09:14:37 +0000 (-0700) Subject: units: use `systemctl exit` to kill the user manager (#8648) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b9458858b4f6475dd32b83f37c546a9ad2c444b2;p=elogind.git 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. --- diff --git a/meson.build b/meson.build index b1d178ad1..6917001f9 100644 --- a/meson.build +++ b/meson.build @@ -640,7 +640,6 @@ mkdir_p = 'mkdir -p $DESTDIR/@0@' #if 0 /// elogind has a bit different list and some adaptions # progs = [['quotaon', '/usr/sbin/quotaon' ], # ['quotacheck', '/usr/sbin/quotacheck' ], -# ['kill', '/usr/bin/kill' ], # ['kmod', '/usr/bin/kmod' ], # ['kexec', '/usr/sbin/kexec' ], # ['sulogin', '/usr/sbin/sulogin' ],