elogind: provide a runit service.

I prefer to handle it via runit.

Signed-off-by: Juan RP <xtraeme@gmail.com>
This commit is contained in:
Juan RP 2019-06-12 12:33:03 +02:00
parent a4b4b84427
commit 45cf92437f
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
sv check dbus >/dev/null || true
exec /usr/libexec/elogind/elogind.wrapper

View File

@ -1,7 +1,7 @@
# Template file for 'elogind'
pkgname=elogind
version=241.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
@ -47,6 +47,7 @@ post_install() {
vinstall $FILESDIR/elogind.wrapper 755 usr/libexec/elogind
vmkdir usr/lib/dracut/dracut.conf.d
echo "install_items+=\" /usr/libexec/elogind/elogind-uaccess-command \"" >> ${DESTDIR}/usr/lib/dracut/dracut.conf.d/elogind.conf
vsv elogind
}
elogind-devel_package() {