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: Use of PermissonStartOnly
Date: Wed, 26 Aug 2026 08:06:21 GMT	[thread overview]
Message-ID: <178773158147.1.3463999883965790715.rpms-inn-b4d28f7957ae@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10
Commit : b4d28f7957ae2b2f69fdd65c84bc4735aea604b4
Author : Jochen Schmitt <Jochen@herr-schmitt.de>
Date   : 2011-09-01T15:43:13+02:00
Stats  : +5/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/inn/c/b4d28f7957ae2b2f69fdd65c84bc4735aea604b4?branch=epel10

Log:
Use of PermissonStartOnly

---
diff --git a/innd.service b/innd.service
index 8a4ed9d..044e580 100644
--- a/innd.service
+++ b/innd.service
@@ -2,12 +2,15 @@
 Description=Inetnet News Daemon
 After=syslog.target network.target
 ConditionPathExists=/etc/news/inn.conf
+User=news
+PermissionsStartOnly=true
 
 [Service]
 PIDFile=/run/news/innd.pid
 Type=forking
-ExecStartPre=/bin/mkdir -p /run/news ; /bin/chown -f news:news /run/news
-ExecStart=/bin/su -m  news -c /usr/libexec/news/rc.news
+ExecStartPre=/bin/mkdir -p /run/news
+ExecStartPre=/bin/chown -f news:news /run/news
+ExecStart=/usr/libexec/news/rc.news
 ExecStop=/bin/su -m  news -c '/usr/libexec/news/rc.news stop'
 KillMode=control-group
 

                 reply	other threads:[~2026-08-26  8:06 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=178773158147.1.3463999883965790715.rpms-inn-b4d28f7957ae@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