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
2 changed files with 5 additions and 1 deletions
3
srcpkgs/elogind/files/elogind/run
Normal file
3
srcpkgs/elogind/files/elogind/run
Normal file
|
@ -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'
|
# Template file for 'elogind'
|
||||||
pkgname=elogind
|
pkgname=elogind
|
||||||
version=241.3
|
version=241.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
|
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
|
||||||
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
||||||
|
@ -47,6 +47,7 @@ post_install() {
|
||||||
vinstall $FILESDIR/elogind.wrapper 755 usr/libexec/elogind
|
vinstall $FILESDIR/elogind.wrapper 755 usr/libexec/elogind
|
||||||
vmkdir usr/lib/dracut/dracut.conf.d
|
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
|
echo "install_items+=\" /usr/libexec/elogind/elogind-uaccess-command \"" >> ${DESTDIR}/usr/lib/dracut/dracut.conf.d/elogind.conf
|
||||||
|
vsv elogind
|
||||||
}
|
}
|
||||||
|
|
||||||
elogind-devel_package() {
|
elogind-devel_package() {
|
||||||
|
|
Loading…
Reference in a new issue