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:
parent
a4b4b84427
commit
45cf92437f
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sv check dbus >/dev/null || true
|
||||
exec /usr/libexec/elogind/elogind.wrapper
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue