summaryrefslogtreecommitdiff
path: root/man/systemd.service.xml
diff options
context:
space:
mode:
authorLuca Bruno <lucab@debian.org>2016-06-28 20:14:08 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-28 20:14:08 +0200
commitaa4f6cf12c474aa2c6535e4b2c434ea39c9d568c (patch)
treefcf52ba9d205c704bded47ac694e69c41312b63e /man/systemd.service.xml
parent94363cbbf38023bac4fc90595d2d839d25acfe38 (diff)
man: clarify NotifyAccess overriding (#3620)
Type=notify has a magic overriding case where a NotifyAccess=none is turned into a NotifyAccess=main for sanity purposes. This makes docs more clear about such behavior: https://github.com/systemd/systemd/blob/2787d83c28b7565ea6f80737170514e5e6186917/src/core/service.c#L650:L651
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r--man/systemd.service.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 6e969abc25..70f12b2d32 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -202,8 +202,9 @@
notification message has been sent. If this option is used,
<varname>NotifyAccess=</varname> (see below) should be set to
open access to the notification socket provided by systemd. If
- <varname>NotifyAccess=</varname> is not set, it will be
- implicitly set to <option>main</option>. Note that currently
+ <varname>NotifyAccess=</varname> is missing or set to
+ <option>none</option>, it will be forcibly set to
+ <option>main</option>. Note that currently
<varname>Type=</varname><option>notify</option> will not work
if used in combination with
<varname>PrivateNetwork=</varname><option>yes</option>.</para>