Move systemd unit PIDFile from /var/run to /run

Resolves: #2006368
Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
Antonio Torres 2021-09-27 13:55:25 +02:00
parent f5fe0a6077
commit d32a01afd5
2 changed files with 6 additions and 2 deletions

View File

@ -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 <antorres@redhat.com> - 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 <antorres@redhat.com> - 3.0.21-20
- Rebuild to pick up new build flags from redhat-rpm-config
Related: rhbz#1984652

View File

@ -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