Used socket for stdin to support socket activation

This commit is contained in:
Jaroslav Škarvada 2015-06-02 10:17:24 +02:00
parent 57bfcdb787
commit 60e8ba8c00
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@ Documentation=man:acpid(8)
Requires=acpid.socket Requires=acpid.socket
[Service] [Service]
StandardInput=socket
EnvironmentFile=/etc/sysconfig/acpid EnvironmentFile=/etc/sysconfig/acpid
ExecStart=/usr/sbin/acpid -f $OPTIONS ExecStart=/usr/sbin/acpid -f $OPTIONS

View File

@ -8,7 +8,7 @@
Summary: ACPI Event Daemon Summary: ACPI Event Daemon
Name: acpid Name: acpid
Version: 2.0.23 Version: 2.0.23
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz
@ -135,6 +135,9 @@ fi
%changelog %changelog
* Tue Jun 2 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.23-4
- Used socket for stdin to support socket activation
* Tue May 19 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.23-3 * Tue May 19 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.23-3
- Changed PATH to /usr/sbin:/usr/bin in power.sh - Changed PATH to /usr/sbin:/usr/bin in power.sh
Resolves: rhbz#1192817 Resolves: rhbz#1192817