From 5d81c71815ff09ce6daa59aeca227176227ef68b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 9 Jan 2015 16:40:21 +0100 Subject: [PATCH] acpid: create a log service too. --- srcpkgs/acpid/files/acpid/log/run | 2 ++ srcpkgs/acpid/files/acpid/run | 2 +- srcpkgs/acpid/template | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/acpid/files/acpid/log/run diff --git a/srcpkgs/acpid/files/acpid/log/run b/srcpkgs/acpid/files/acpid/log/run new file mode 100644 index 00000000000..1260dd182bc --- /dev/null +++ b/srcpkgs/acpid/files/acpid/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -t acpid diff --git a/srcpkgs/acpid/files/acpid/run b/srcpkgs/acpid/files/acpid/run index f3eacac33eb..f709dc4c6f8 100755 --- a/srcpkgs/acpid/files/acpid/run +++ b/srcpkgs/acpid/files/acpid/run @@ -1,3 +1,3 @@ #!/bin/sh -exec 1>&2 +exec 2>&1 exec acpid -fl diff --git a/srcpkgs/acpid/template b/srcpkgs/acpid/template index 7d12e2b3482..1118e6d057d 100644 --- a/srcpkgs/acpid/template +++ b/srcpkgs/acpid/template @@ -1,7 +1,7 @@ # Template file for 'acpid' pkgname=acpid version=2.0.23 -revision=7 +revision=8 build_options="systemd" build_style=gnu-configure conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"