X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.exec.xml;h=ff8b812ef44087ab47278cde43bcc83e3614952a;hp=2c673a2a968bb0fbd05683ee3bea48309abbdba8;hb=f4ae69117ba47e75ff89c7d847e180af9af7436a;hpb=39f0570d6ea01476dd82bbcae60f51f97f614cec
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 2c673a2a9..ff8b812ef 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -76,6 +76,27 @@
configuration options are configured in the [Service],
[Socket], [Mount], or [Swap] sections, depending on the unit
type.
+
+ Processes started by the system systemd instance
+ are executed in a clean environment in which only the
+ $PATH and $LANG
+ variables are set by default. In order to add
+ additional variables, see the
+ Environment= and
+ EnvironmentFile= options below. To
+ specify variables globally, see
+ DefaultEnvironment= in
+ systemd-system.conf5
+ or the kernel option
+ systemd.setenv= in
+ systemd1. Processes
+ started by the user systemd instances inherit all
+ environment variables from the user systemd instance,
+ and have $HOME,
+ $USER,
+ $XDG_RUNTIME_DIR defined, among
+ others. In addition, $MANAGERPID
+ contains the PID of the user systemd instance.