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: Timer service units have to been enabled also
Date: Wed, 26 Aug 2026 08:54:29 GMT [thread overview]
Message-ID: <178773446927.1.5946533972529794650.rpms-inn-319c1fa3cc43@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/inn
Branch : epel10.3
Commit : 319c1fa3cc4320b6f91f3bdaf0a1135140c5dd44
Author : Jochen Schmitt <Jochen@herr-schmitt.de>
Date : 2013-01-25T22:28:18+01:00
Stats : +23/-6 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/inn/c/319c1fa3cc4320b6f91f3bdaf0a1135140c5dd44?branch=epel10.3
Log:
Timer service units have to been enabled also
---
diff --git a/inn.spec b/inn.spec
index e8abe9f..745a9cb 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
Summary: The InterNetNews system, an Usenet news server
Name: inn
Version: 2.5.3
-Release: 7%{?dist}
+Release: 8%{?dist}
#see LICENSE file for details
License: GPLv2+ and BSD and MIT and Public Domain
Group: System Environment/Daemons
@@ -227,6 +227,9 @@ touch /var/log/news/news.err
chown -R news:news /var/log/news*
%systemd_post innd.service
+systemctl enable innd-expire.service >/dev/null
+systemctl enable innd-nntpsend.service >/dev/null
+systemctl enable innd-rnews.service >/dev/null
systemctl enable innd-expire.timer >/dev/null
systemctl enable innd-nntpsend.timer >/dev/null
@@ -236,6 +239,10 @@ systemctl start innd-expire.timer
systemctl start innd-nntpsend.timer
systemctl start innd-rnews.timer
+systemctl start innd-expire.service
+systemctl start innd-nntpsend.service
+systemctl start innd-rnews.service
+
%post libs -p /sbin/ldconfig
%triggerin -- rsyslog
@@ -290,6 +297,11 @@ fi
%systemd_preun innd-expire.timer
%systemd_preun innd-nntpsend.timer
%systemd_preun innd-rnews.timer
+
+%systemd_preun innd-expire.service
+%systemd_preun innd-nntpsend.service
+%systemd_preun innd-rnews.service
+
%systemd_preun innd.service
if [ $1 = 0 ]; then
@@ -300,9 +312,6 @@ fi
%postun
%systemd_postun_with_restart innd.service
-%systemd_postun_with_restart innd-expire.service
-%systemd_postun_with_restart innd-nntpsend.serivce
-%systemd_postun_with_restart innd-rnews.service
%postun libs -p /sbin/ldconfig
@@ -548,6 +557,9 @@ fi
%{_mandir}/man1/inews*
%changelog
+* Fri Jan 25 2013 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.3-8
+- Timer service units have to been enabled also
+
* Wed Jan 23 2013 Jochen Schmitt <Jochen herr-schmitt de> - 2.5.3-7
- Using of %%{_tmpfilesdir} instaead of %%{_sysconfdir}/tmpfiles.d/
- Disable SMP build due an SMP-related issue
diff --git a/innd-nntpsend.service b/innd-nntpsend.service
index 0b8973f..3e23549 100644
--- a/innd-nntpsend.service
+++ b/innd-nntpsend.service
@@ -1,7 +1,8 @@
[Unit]
Description=Inetnet News Daemon Sending News
-After=syslog.target network.target innd.service
+After=innd.service
ConditionPathExists=/etc/news/inn.conf
+conditionPathExists=/run/news/inn.pid
[Service]
User=news
diff --git a/innd-nntpsend.timer b/innd-nntpsend.timer
index 3f8c746..f6c6b15 100644
--- a/innd-nntpsend.timer
+++ b/innd-nntpsend.timer
@@ -1,5 +1,7 @@
[Unit]
Description=Inetnet News Daemon NNTP Send
+After=innd.service
+ConditionPathExists=/etc/news/inn.conf
[Timer]
OnUnitActiveSec=1h
diff --git a/innd-rnews.service b/innd-rnews.service
index 4889337..fd7051b 100644
--- a/innd-rnews.service
+++ b/innd-rnews.service
@@ -1,6 +1,6 @@
[Unit]
Description=Inetnet News Daemon Receiving News
-After=syslog.target network.target innd.service
+After=innd.service
ConditionPathExists=/etc/news/inn.conf
[Service]
diff --git a/innd-rnews.timer b/innd-rnews.timer
index 72a7fe7..e44f0a1 100644
--- a/innd-rnews.timer
+++ b/innd-rnews.timer
@@ -1,5 +1,7 @@
[Unit]
Description=Inetnet News Daemon Receiving News
+After=innd.service
+ConditionPathExists=/etc/news/inn.conf
[Timer]
OnUnitActiveSec=1h
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=178773446927.1.5946533972529794650.rpms-inn-319c1fa3cc43@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