Use /run for acpid.socket path

This commit is contained in:
FeRD (Frank Dana) 2021-07-01 10:40:20 -04:00
parent a573c3caf5
commit 2e4aabe2b8
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Description=ACPID Listen Socket
Documentation=man:acpid(8) Documentation=man:acpid(8)
[Socket] [Socket]
ListenStream=/var/run/acpid.socket ListenStream=/run/acpid.socket
[Install] [Install]
WantedBy=sockets.target WantedBy=sockets.target

View File

@ -8,7 +8,7 @@
Summary: ACPI Event Daemon Summary: ACPI Event Daemon
Name: acpid Name: acpid
Version: 2.0.32 Version: 2.0.32
Release: 5%{?dist} Release: 6%{?dist}
License: GPLv2+ License: GPLv2+
Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz
Source2: acpid.video.conf Source2: acpid.video.conf
@ -100,6 +100,9 @@ fi
/bin/systemctl try-restart acpid.service >/dev/null 2>&1 || : /bin/systemctl try-restart acpid.service >/dev/null 2>&1 || :
%changelog %changelog
* Thu Jul 01 2021 FeRD (Frank Dana) <ferdnyc@gmail.com> - 2.0.32-6
- Updated socket path from /var/run => /run in acpid.socket
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.32-5 * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.32-5
- Rebuilt for updated systemd-rpm-macros - Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583. See https://pagure.io/fesco/issue/2583.