Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] elogind: provide a runit service.
@ 2019-06-12 10:34 voidlinux-github
  2019-06-12 10:39 ` voidlinux-github
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: voidlinux-github @ 2019-06-12 10:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

There is a new pull request by xtraeme against master on the void-packages repository

https://github.com/xtraeme/void-packages elogind-runit-service
https://github.com/void-linux/void-packages/pull/12423

elogind: provide a runit service.
I prefer to handle it via runit.

Signed-off-by: Juan RP <xtraeme@gmail.com>

A patch file from https://github.com/void-linux/void-packages/pull/12423.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elogind-runit-service-12423.patch --]
[-- Type: application/text/x-diff, Size: 1498 bytes --]

From d4bcc1e25ebe8240fcda23c281b930f7f711fcff Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 12 Jun 2019 12:33:03 +0200
Subject: [PATCH] elogind: provide a runit service.

I prefer to handle it via runit.

Signed-off-by: Juan RP <xtraeme@gmail.com>
---
 srcpkgs/elogind/files/elogind/run | 3 +++
 srcpkgs/elogind/template          | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/elogind/files/elogind/run

diff --git a/srcpkgs/elogind/files/elogind/run b/srcpkgs/elogind/files/elogind/run
new file mode 100644
index 00000000000..9abc6ee2b43
--- /dev/null
+++ b/srcpkgs/elogind/files/elogind/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+sv check dbus >/dev/null || true
+exec /usr/libexec/elogind/elogind.wrapper
diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template
index 678025f7e88..7d03f4e5fc0 100644
--- a/srcpkgs/elogind/template
+++ b/srcpkgs/elogind/template
@@ -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() {

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-06-15 12:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 10:34 [PR PATCH] elogind: provide a runit service voidlinux-github
2019-06-12 10:39 ` voidlinux-github
2019-06-12 10:40 ` voidlinux-github
2019-06-12 10:44 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-12 10:44 ` voidlinux-github
2019-06-12 10:46 ` voidlinux-github
2019-06-15 12:14 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).