X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.exec.xml;h=7eaf52bc5bd59571a924cb613a67103d32dd623a;hb=49888ca9ef9cac69bfc9b6e30e4f8e3376dcae03;hp=2778497647e5dcaf75b77875e25ff14b748f8e7b;hpb=b040723ea412209e0edf54647fa5aa4287411507;p=elogind.git diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 277849764..7eaf52bc5 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -295,9 +295,11 @@ for the assignment. Example: - Environment="VAR1=word1 word2" VAR2=word3 "VAR3=word 5 6" + Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6" gives three variables VAR1, - VAR2, VAR3. + VAR2, VAR3 + with the values word1 word2, + word3, $word 5 6. @@ -847,7 +849,7 @@ processes and mounts private /tmp and /var/tmp - directories inside it that are not + directories inside it that is not shared by processes outside of the namespace. This is useful to secure access to temporary files of the @@ -857,7 +859,7 @@ /var/tmp impossible. All temporary data created by service will be removed after - service is stopped. Defaults to + the service is stopped. Defaults to false. Note that it is possible to run two or more units within the same private /tmp and @@ -892,6 +894,24 @@ for details. + + PrivateDevices= + + Takes a boolean + argument. If true, sets up a new /dev + namespace for the executed processes + and only adds API pseudo devices such + as /dev/null, + /dev/zero or + /dev/random to + it, but no physical devices such as + /dev/sda. This is + useful to securely turn off physical + device access by the executed + process. Defaults to + false. + + MountFlags=