mirror of
https://github.com/systemd/systemd.git
synced 2025-03-06 00:58:29 +03:00
man: document that ConditionKernelCommandLine= looks at /proc/1/environ in containers
Fixes: #16941
This commit is contained in:
parent
f081b47f81
commit
af4b8f8048
@ -1207,7 +1207,10 @@
|
||||
argument must either be a single word, or an assignment (i.e. two words, separated by
|
||||
<literal>=</literal>). In the former case the kernel command line is searched for the word
|
||||
appearing as is, or as left hand side of an assignment. In the latter case, the exact assignment is
|
||||
looked for with right and left hand side matching.</para>
|
||||
looked for with right and left hand side matching. This operates on the kernel command line
|
||||
communicated to userspace via <filename>/proc/cmdline</filename>, except when the service manager
|
||||
is invoked as payload of a container manager, in which case the command line of <filename>PID
|
||||
1</filename> is used instead (i.e. <filename>/proc/1/cmdline</filename>).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user