public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/radsecproxy] epel9: Use 'systemctl try-reload-or-restart' in logrotate postrotate script (#2371326, thanks to Marcos Mello)
Date: Thu, 04 Jun 2026 10:32:30 GMT	[thread overview]
Message-ID: <178056915051.1.1579909661678166397.rpms-radsecproxy-808b5e0f3fd6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/radsecproxy
Branch : epel9
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=epel9

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
 

                 reply	other threads:[~2026-06-04 10:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178056915051.1.1579909661678166397.rpms-radsecproxy-808b5e0f3fd6@fedoraproject.org \
    --to=robert@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox