]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document how to include an equals sign in a value provided to Environment= ...
authorMark Stosberg <mark@rideamigos.com>
Tue, 11 Apr 2017 21:19:06 +0000 (17:19 -0400)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Tue, 11 Apr 2017 21:19:06 +0000 (23:19 +0200)
It wasn't clear before how an equals sign in an "Environment=" value might be
handled. Ref:
http://stackoverflow.com/questions/43278883/how-to-write-systemd-environment-variables-value-which-contains/43280157

man/systemd.exec.xml

index fb64cd6d8e741585f6d7925e0911bc44a9897324..8c4988abe7956fd8dc81274133ceb8156406c8a1 100644 (file)
         assignments have no effect. Variable expansion is not
         performed inside the strings, however, specifier expansion is
         possible. The $ character has no special meaning. If you need
-        to assign a value containing spaces to a variable, use double
+        to assign a value containing spaces or the equals sign to a variable, use double
         quotes (") for the assignment.</para>
 
         <para>Example: