diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-system.conf.xml | 21 | ||||
-rw-r--r-- | man/systemd.exec.xml | 5 |
2 files changed, 24 insertions, 2 deletions
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index d8bfd1279d..5886855407 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -263,6 +263,27 @@ </varlistentry> <varlistentry> + <term><varname>DefaultEnvironment=</varname></term> + + <listitem><para>Sets systemd manager + environment variables for executed + processes. Takes a space-separated + list of variable assignments. + </para> + + <para>Example: + <programlisting>Environment="VAR1=word1 word2" VAR2=word3 "VAR3=word 5 6"</programlisting> + gives three variables <literal>VAR1</literal>, + <literal>VAR2</literal>, <literal>VAR3</literal>. + </para> + + <para> + See + <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefentry> + for details about environment variables.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>DefaultLimitCPU=</varname></term> <term><varname>DefaultLimitFSIZE=</varname></term> <term><varname>DefaultLimitDATA=</varname></term> diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index ab1712efeb..8d5948ab07 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -288,8 +288,9 @@ variables is reset, all prior assignments have no effect. Variable expansion is not performed - inside the strings, and $ has no special - meaning. + inside the strings, however, specifier + expansion is possible. $ character has + no special meaning. If you need to assign a value containing spaces to a variable, use double quotes (") for the assignment.</para> |