From d3018c5ddd8ba5b0f7c43499ce24450d9d155950 Mon Sep 17 00:00:00 2001 From: Anita Zhang Date: Tue, 18 May 2021 01:23:36 -0700 Subject: [PATCH] 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. (cherry picked from commit c54cfef3968613f9e86e76a3337148360e20150e) --- man/systemd-system.conf.xml | 8 ++++---- 1 file 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 @@ 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 -- 2.25.1