diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2021-05-18 01:23:36 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-05-18 12:59:10 +0200 |
commit | c54cfef3968613f9e86e76a3337148360e20150e (patch) | |
tree | 1e1a27234bb3602520ff446d6d9a52d9df7a4bc5 /man/systemd-system.conf.xml | |
parent | f96bc66901ecbcf7ecb280d9442fd0cc92e67186 (diff) | |
download | systemd-c54cfef3968613f9e86e76a3337148360e20150e.tar.gz |
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.
Diffstat (limited to 'man/systemd-system.conf.xml')
-rw-r--r-- | man/systemd-system.conf.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index d39928ec23..1ac0077d86 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -342,10 +342,10 @@ <term><varname>ManagerEnvironment=</varname></term> <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 - processes spawned by the service manager, use <varname>DefaultEnvironment=</varname> for that. Note - that these variables are merged into the existing environment block. In particular, in case of the - system manager, this includes variables set by the kernel based on the kernel command line.</para> + environment variables just for the manager process itself. In contrast to user managers, these variables + are not inherited by processes spawned by the system manager, use <varname>DefaultEnvironment=</varname> + for that. Note that these variables are merged into the existing environment block. In particular, in + 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. See <ulink url="https://systemd.io/ENVIRONMENT">ENVIRONMENT</ulink> for a descriptions of some |