summaryrefslogtreecommitdiff
path: root/man/systemd.service.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-21 02:57:35 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-21 02:57:35 +0200
commitc24eb49e6aecd6de2ad450083e826d4c9d9c75b6 (patch)
tree6833f35a658d6427eb981b320df3c6913e8fc455 /man/systemd.service.xml
parent9d25f5ed7b80df732cf7842985aa9b243bcd2335 (diff)
exec: extend variable substitution to support splitting variable values into seperate arguments
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r--man/systemd.service.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 962388342..94a21d3fe 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -274,10 +274,14 @@
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>. On
top of that basic environment variable
substitution is supported, where
- <literal>$(FOO)</literal> is replaced
- by the value of the environment
- variable of the same
- name.</para></listitem>
+ <literal>${FOO}</literal> is replaced
+ by the string value of the environment
+ variable of the same name. Also
+ <literal>$FOO</literal> may appear as
+ seperate word on the command line in
+ which case the variable is replaced by
+ its value split at
+ whitespaces.</para></listitem>
</varlistentry>
<varlistentry>