public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/radsecproxy] epel8: Use 'systemctl try-reload-or-restart' in logrotate postrotate script (#2371326, thanks to Marcos Mello)
@ 2026-06-04 10:32 Robert Scheck
  0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-06-04 10:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/radsecproxy
Branch : epel8
Commit : 808b5e0f3fd66113fe628a722194e47755a6d629
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-06-04T12:30:19+02:00
Stats  : +6/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/radsecproxy/c/808b5e0f3fd66113fe628a722194e47755a6d629?branch=epel8

Log:
Use 'systemctl try-reload-or-restart' in logrotate postrotate script (#2371326, thanks to Marcos Mello)

---
diff --git a/radsecproxy.logrotate b/radsecproxy.logrotate
index 59ae6d7..4b1b493 100644
--- a/radsecproxy.logrotate
+++ b/radsecproxy.logrotate
@@ -4,7 +4,7 @@
 	delaycompress
 	notifempty
 	postrotate
-		/bin/systemctl --quiet is-active radsecproxy.service && /bin/systemctl reload radsecproxy.service || true
+		systemctl try-reload-or-restart radsecproxy.service
 	endscript
 	create 0640 radsecproxy radsecproxy
 	sharedscripts

diff --git a/radsecproxy.spec b/radsecproxy.spec
index e71f7cb..ba3de65 100644
--- a/radsecproxy.spec
+++ b/radsecproxy.spec
@@ -1,7 +1,7 @@
 Summary:        Generic RADIUS proxy with RadSec support
 Name:           radsecproxy
 Version:        1.11.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 License:        BSD-3-Clause
 URL:            https://radsecproxy.github.io/
 Source0:        https://github.com/radsecproxy/radsecproxy/releases/download/%{version}/%{name}-%{version}.tar.gz
@@ -82,6 +82,10 @@ make check
 %dir %attr(0750,%{name},%{name}) %{_localstatedir}/log/%{name}/
 
 %changelog
+* Thu Jun 04 2026 Robert Scheck <robert@fedoraproject.org> 1.11.2-4
+- Use 'systemctl try-reload-or-restart' in logrotate postrotate
+  script (#2371326, thanks to Marcos Mello)
+-
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-04 10:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04 10:32 [rpms/radsecproxy] epel8: Use 'systemctl try-reload-or-restart' in logrotate postrotate script (#2371326, thanks to Marcos Mello) Robert Scheck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox