1
0
mirror of https://github.com/systemd/systemd.git synced 2025-09-10 21:45:06 +03: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:
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, notification message has been sent. If this option is used,
<varname>NotifyAccess=</varname> (see below) should be set to <varname>NotifyAccess=</varname> (see below) should be set to
open access to the notification socket provided by systemd. If open access to the notification socket provided by systemd. If
<varname>NotifyAccess=</varname> is not set, it will be <varname>NotifyAccess=</varname> is missing or set to
implicitly set to <option>main</option>. Note that currently <option>none</option>, it will be forcibly set to
<option>main</option>. Note that currently
<varname>Type=</varname><option>notify</option> will not work <varname>Type=</varname><option>notify</option> will not work
if used in combination with if used in combination with
<varname>PrivateNetwork=</varname><option>yes</option>.</para> <varname>PrivateNetwork=</varname><option>yes</option>.</para>