From 412a6c646ced41ac9b12c4a4f97e34c0350e1040 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Sat, 28 Dec 2019 19:38:27 +0200 Subject: [PATCH] systemd.exec: document the file system for EnvironmentFile paths Files specified with EnvironmentFile are read from PID1 mount namespace, before any file system operations like RootImage or BindPaths are in effect. --- man/systemd.exec.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 27b58432b96..ee2ca6aa10f 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1908,7 +1908,8 @@ SystemCallErrorNumber=EPERM The files listed with this directive will be read shortly before the process is executed (more specifically, after all processes from a previous unit state terminated. This means you can generate these - files in one unit state, and read it with this option in the next). + files in one unit state, and read it with this option in the next. The files are read from the file + system of the service manager, before any file system changes like bind mounts take place). Settings from these files override settings made with Environment=. If the same variable is set twice from these files, the files will be read in the order they are specified and the later