daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
923a60
From 3126e1ac82a14399e4a759b68ab85e10ba8ba3b3 Mon Sep 17 00:00:00 2001
923a60
From: Michal Sekletar <msekletar@users.noreply.github.com>
923a60
Date: Wed, 19 Apr 2017 08:52:40 +0200
923a60
Subject: [PATCH] units: drop explicit NotifyAccess setting from journald's
923a60
 unit file (#5749)
923a60
923a60
systemd-journald service consists of only single process and that is the
923a60
MainPID. Make unit file shorter and drop NotifyAccess=all since it is
923a60
not useful in such case.
923a60
923a60
https://lists.freedesktop.org/archives/systemd-devel/2017-April/038667.html
923a60
923a60
(cherry picked from commit 6f0e6bd253f449bedec78ec8a468929d3c5d8faf)
923a60
923a60
Resolves: #1444356
923a60
---
923a60
 units/systemd-journald.service.in | 1 -
923a60
 1 file changed, 1 deletion(-)
923a60
923a60
diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in
923a60
index 8575912bbd..c85c349327 100644
923a60
--- a/units/systemd-journald.service.in
923a60
+++ b/units/systemd-journald.service.in
923a60
@@ -19,7 +19,6 @@ Sockets=systemd-journald.socket
923a60
 ExecStart=@rootlibexecdir@/systemd-journald
923a60
 Restart=always
923a60
 RestartSec=0
923a60
-NotifyAccess=all
923a60
 StandardOutput=null
923a60
 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE
923a60
 WatchdogSec=3min