[systemd-devel] [PATCH] clarify $ escaping in Exec* lines

Andrey Borzenkov arvidjaar at gmail.com
Thu Sep 19 04:52:31 PDT 2013


Explain that literal $ can be passed by doubling it.

---
 man/systemd.service.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 8eda85f..c06e14e 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -369,7 +369,8 @@
                                 case it will be replaced by the value
                                 of the environment variable split up
                                 at whitespace, resulting in zero or
-                                more arguments. Note that the first
+                                more arguments. To pass literal dollar sign
+                                use <literal>$$</literal>. Note that the first
                                 argument (i.e. the program to execute)
                                 may not be a variable, since it must
                                 be a literal and absolute path
-- 
tg: (c22428f..) u/dollar-sign-in-exec (depends on: master)


More information about the systemd-devel mailing list