From: Anita Zhang Date: Tue, 18 May 2021 08:23:36 +0000 (-0700) Subject: man: only the system manager does not pass vars in ManagerEnvironment= X-Git-Tag: v249-rc1~212 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c54cfef3968613f9e86e76a3337148360e20150e;p=thirdparty%2Fsystemd.git 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. --- diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index d39928ec239..1ac0077d868 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -342,10 +342,10 @@ ManagerEnvironment= Takes the same arguments as DefaultEnvironment=, see above. Sets - environment variables just for the manager process itself. These variables are not inherited by - processes spawned by the service manager, use DefaultEnvironment= 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. + 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 DefaultEnvironment= + 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. Setting environment variables for the manager process may be useful to modify its behaviour. See ENVIRONMENT for a descriptions of some