public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10.3: Use of PermissonStartOnly
@ 2026-08-26  8:54 Jochen Schmitt
  0 siblings, 0 replies; only message in thread
From: Jochen Schmitt @ 2026-08-26  8:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/inn
Branch : epel10.3
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.3

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:54 [rpms/inn] epel10.3: Use of PermissonStartOnly Jochen Schmitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox