From 09957f7939de8e68bb5786218d917cb7dc89b0c2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 14 Dec 2014 12:58:55 +0100 Subject: [PATCH] acpid: redirect stdout to stderr in the runit service. ... otherwise the tty could be cluttered with its output. --- srcpkgs/acpid/files/acpid/run | 1 + srcpkgs/acpid/template | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/acpid/files/acpid/run b/srcpkgs/acpid/files/acpid/run index 2f1ecdb65c2..f3eacac33eb 100755 --- a/srcpkgs/acpid/files/acpid/run +++ b/srcpkgs/acpid/files/acpid/run @@ -1,2 +1,3 @@ #!/bin/sh +exec 1>&2 exec acpid -fl diff --git a/srcpkgs/acpid/template b/srcpkgs/acpid/template index 7d021522618..f7d8190e1bf 100644 --- a/srcpkgs/acpid/template +++ b/srcpkgs/acpid/template @@ -1,7 +1,7 @@ # Template file for 'acpid' pkgname=acpid version=2.0.23 -revision=5 +revision=6 build_options="systemd" build_style=gnu-configure conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"