elogind: disable termination of userprocesses on logout.

fixes #8346.
This commit is contained in:
Enno Boland 2019-02-08 11:40:37 +01:00 committed by maxice8
parent 59155ce25a
commit b749622a32
1 changed files with 2 additions and 1 deletions

View File

@ -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
}