mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
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:
2787d83c28/src/core/service.c (L650)
:L651
This commit is contained in:
parent
94363cbbf3
commit
aa4f6cf12c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user