public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jochen Schmitt <Jochen@herr-schmitt.de>
To: git-commits@fedoraproject.org
Subject: [rpms/inn] epel10.3: Add Condition to /etc/news/inn.conf in innd.service
Date: Wed, 26 Aug 2026 08:54:14 GMT [thread overview]
Message-ID: <178773445464.1.15869338760255700118.rpms-inn-d9ed55cb73a3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/inn
Branch : epel10.3
Commit : d9ed55cb73a3b248fee333113fdde2e35cae6fd6
Author : Jochen Schmitt <Jochen@herr-schmitt.de>
Date : 2011-07-13T17:52:47+02:00
Stats : +6/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/inn/c/d9ed55cb73a3b248fee333113fdde2e35cae6fd6?branch=epel10.3
Log:
Add Condition to /etc/news/inn.conf in innd.service
---
diff --git a/inn.spec b/inn.spec
index 8ddf560..256fa65 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
Summary: The InterNetNews system, an Usenet news server
Name: inn
Version: 2.5.2
-Release: 10%{?dist}
+Release: 11%{?dist}
#see LICENSE file for details
License: GPLv2+ and BSD and MIT and Public Domain
Group: System Environment/Daemons
@@ -282,7 +282,7 @@ fi
%preun
if [ $1 = 0 ]; then
/bin/systemctl disable innd.service >/dev/null 2>&1 || :
- /bin/systemctl stop innd.service >/dev/null 2>&1 || :
+ /bin/systemctl --no-reload stop innd.service >/dev/null 2>&1 || :
if [ -f /var/lib/news/history.dir ]; then
rm -f /var/lib/news/history.*
fi
@@ -528,6 +528,9 @@ fi
%{_mandir}/man1/inews*
%changelog
+* Wed Jul 13 2011 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-11
+- Add Condition to /etc/news/inn.conf in innd.service
+
* Tue Jul 5 2011 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.2-10
- Fix typo in start-inn
diff --git a/innd.service b/innd.service
index 2bb0594..41341f7 100644
--- a/innd.service
+++ b/innd.service
@@ -1,6 +1,7 @@
[Unit]
Description=Inetnet News Daemon
After=syslog.target network.target
+ConditionPathExists=/etc/news/inn.conf
[Service]
PIDFile=/run/news/innd.pid
@@ -9,8 +10,6 @@ ExecStartPre=/lib/systemd/prepare-innd
ExecStart=/lib/systemd/start-innd
ExecStop=/lib/systemd/stop-innd
KillMode=control-group
-StandardOutput=syslog
-StandardError=syslog
[Install]
WantedBy=multi-user.target
\ No newline at end of file
reply other threads:[~2026-08-26 8:54 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=178773445464.1.15869338760255700118.rpms-inn-d9ed55cb73a3@fedoraproject.org \
--to=jochen@herr-schmitt.de \
--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