From d32a01afd56708b975b50731a1a12b2e0ac54834 Mon Sep 17 00:00:00 2001 From: Antonio Torres Date: Mon, 27 Sep 2021 13:55:25 +0200 Subject: [PATCH] Move systemd unit PIDFile from /var/run to /run Resolves: #2006368 Signed-off-by: Antonio Torres --- freeradius.spec | 6 +++++- radiusd.service | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/freeradius.spec b/freeradius.spec index a6e6d98..b52eed8 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -1,7 +1,7 @@ Summary: High-performance and highly configurable free RADIUS server Name: freeradius Version: 3.0.21 -Release: 20%{?dist} +Release: 21%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.freeradius.org/ @@ -851,6 +851,10 @@ exit 0 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest %changelog +* Mon Sep 27 2021 Antonio Torres - 3.0.21-21 +- Move FR's systemd unit PID file from /var/run to /run + Related: rhbz#2006368 + * Thu Aug 19 2021 Antonio Torres - 3.0.21-20 - Rebuild to pick up new build flags from redhat-rpm-config Related: rhbz#1984652 diff --git a/radiusd.service b/radiusd.service index f545280..8ec47ba 100644 --- a/radiusd.service +++ b/radiusd.service @@ -4,7 +4,7 @@ After=syslog.target network-online.target ipa.service dirsrv.target krb5kdc.serv [Service] Type=forking -PIDFile=/var/run/radiusd/radiusd.pid +PIDFile=/run/radiusd/radiusd.pid ExecStartPre=-/bin/chown -R radiusd.radiusd /var/run/radiusd ExecStartPre=/usr/sbin/radiusd -C ExecStart=/usr/sbin/radiusd -d /etc/raddb