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:
Luca Bruno 2016-06-28 20:14:08 +02:00 committed by Lennart Poettering
parent 94363cbbf3
commit aa4f6cf12c

View file

@ -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>