From b749622a32d3fad45a88716644bd2c477b123a68 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 8 Feb 2019 11:40:37 +0100 Subject: [PATCH] elogind: disable termination of userprocesses on logout. fixes #8346. --- srcpkgs/elogind/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template index 3765bd3dcb9..107212c8e1e 100644 --- a/srcpkgs/elogind/template +++ b/srcpkgs/elogind/template @@ -1,7 +1,7 @@ # Template file for 'elogind' pkgname=elogind version=239.3 -revision=1 +revision=2 build_style=meson configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt -Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot @@ -45,6 +45,7 @@ post_install() { vinstall ./src/systemd/_sd-common.h 644 usr/include vinstall $FILESDIR/elogind.wrapper 755 usr/libexec/elogind vmkdir usr/lib/dracut/dracut.conf.d + vsed -e 's/#KillUserProcesses=.*/KillUserProcesses=no/' -i ${DESTDIR}/etc/elogind/logind.conf echo "install_items+=\" /usr/libexec/elogind/elogind-uaccess-command \"" >> ${DESTDIR}/usr/lib/dracut/dracut.conf.d/elogind.conf }