public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Miroslav Lichvar <mlichvar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ntpsec] epel9: use systemctl kill in logrotate postrotate script (#2372534)
Date: Wed, 21 Oct 2026 11:01:57 GMT [thread overview]
Message-ID: <179258051711.1.6521957644821168016.rpms-ntpsec-3663d5b17d33@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ntpsec
Branch : epel9
Commit : 3663d5b17d33dbc3357c0a2bcce3d4f06cb10aa4
Author : Miroslav Lichvar <mlichvar@redhat.com>
Date : 2026-10-21T12:47:24+02:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ntpsec/c/3663d5b17d33dbc3357c0a2bcce3d4f06cb10aa4?branch=epel9
Log:
use systemctl kill in logrotate postrotate script (#2372534)
---
diff --git a/ntpsec.spec b/ntpsec.spec
index 0fe7ac4..6d850ea 100644
--- a/ntpsec.spec
+++ b/ntpsec.spec
@@ -53,6 +53,10 @@ sed -i 's|NTPSEC_VERSION_EXTENDED|NTPSEC_VERSION|' pylib/ntp-in.egg-info
sed -i 's|/var/NTP|%{_localstatedir}/log/ntpstats|' \
docs/includes/ntpd-body.adoc ntpd/ntp_util.c
+# Use systemctl kill in logrotate postrotate script
+sed -i 's|killall -HUP ntpd$|systemctl kill --signal=HUP --kill-whom=main ntpd.service 2>/dev/null \|\| true|' \
+ etc/logrotate-config.ntpd
+
%build
export CFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS="$RPM_LD_FLAGS"
reply other threads:[~2026-10-21 11:01 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=179258051711.1.6521957644821168016.rpms-ntpsec-3663d5b17d33@fedoraproject.org \
--to=mlichvar@redhat.com \
--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