mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-03 01:17:45 +03:00
man: only the system manager does not pass vars in ManagerEnvironment=
User managers always pass their environment on to their children. Make that clear in the description of ManagerEnvironment= which states that none of those args will get passed to child processes of service managers.
This commit is contained in:
parent
f96bc66901
commit
c54cfef396
@ -342,10 +342,10 @@
|
|||||||
<term><varname>ManagerEnvironment=</varname></term>
|
<term><varname>ManagerEnvironment=</varname></term>
|
||||||
|
|
||||||
<listitem><para>Takes the same arguments as <varname>DefaultEnvironment=</varname>, see above. Sets
|
<listitem><para>Takes the same arguments as <varname>DefaultEnvironment=</varname>, see above. Sets
|
||||||
environment variables just for the manager process itself. These variables are not inherited by
|
environment variables just for the manager process itself. In contrast to user managers, these variables
|
||||||
processes spawned by the service manager, use <varname>DefaultEnvironment=</varname> for that. Note
|
are not inherited by processes spawned by the system manager, use <varname>DefaultEnvironment=</varname>
|
||||||
that these variables are merged into the existing environment block. In particular, in case of the
|
for that. Note that these variables are merged into the existing environment block. In particular, in
|
||||||
system manager, this includes variables set by the kernel based on the kernel command line.</para>
|
case of the system manager, this includes variables set by the kernel based on the kernel command line.</para>
|
||||||
|
|
||||||
<para>Setting environment variables for the manager process may be useful to modify its behaviour.
|
<para>Setting environment variables for the manager process may be useful to modify its behaviour.
|
||||||
See <ulink url="https://systemd.io/ENVIRONMENT">ENVIRONMENT</ulink> for a descriptions of some
|
See <ulink url="https://systemd.io/ENVIRONMENT">ENVIRONMENT</ulink> for a descriptions of some
|
||||||
|
Loading…
Reference in New Issue
Block a user