summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Kelling <ian@iankelling.org>2017-01-03 02:17:50 -0800
committerIan Kelling <ian@iankelling.org>2017-01-03 02:17:50 -0800
commit4b957756b829a861da007908b31c2c89255802d8 (patch)
tree89bf1dafb1aca3e67ccb52d9301315ac2803dba7
parent88c745d7055a3a18a4a41dfaa01cc991578eb88b (diff)
man: document mount deletion between commands
-rw-r--r--man/systemd.exec.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index e29ebf8659..fa3e6afe77 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -1184,7 +1184,11 @@
details. Defaults to <option>shared</option>. Use <option>shared</option> to ensure that mounts and unmounts
are propagated from the host to the container and vice versa. Use <option>slave</option> to run processes so
that none of their mounts and unmounts will propagate to the host. Use <option>private</option> to also ensure
- that no mounts and unmounts from the host will propagate into the unit processes' namespace. Note that
+ that no mounts and unmounts from the host will propagate into the unit processes' namespace.
+ If this is set to <option>slave</option> or <option>private</option>, any mounts created by spawned processes
+ will be unmounted after the completion of the current command line of <varname>ExecStartPre=</varname>,
+ <varname>ExecStartPost=</varname>, <varname>ExecStart=</varname>,
+ and <varname>ExecStopPost=</varname>. Note that
<option>slave</option> means that file systems mounted on the host might stay mounted continuously in the
unit's namespace, and thus keep the device busy. Note that the file system namespace related options
(<varname>PrivateTmp=</varname>, <varname>PrivateDevices=</varname>, <varname>ProtectSystem=</varname>,