diff options
-rw-r--r-- | man/systemd.syntax.xml | 24 | ||||
-rw-r--r-- | man/systemd.unit.xml | 17 |
2 files changed, 24 insertions, 17 deletions
diff --git a/man/systemd.syntax.xml b/man/systemd.syntax.xml index 1bb8e6bbd4..3c67e92dd5 100644 --- a/man/systemd.syntax.xml +++ b/man/systemd.syntax.xml @@ -87,6 +87,23 @@ KeyTwo=value 2 \ value 2 continued </programlisting></example> + <para>Boolean arguments used in configuration files can be written in + various formats. For positive settings the strings + <option>1</option>, <option>yes</option>, <option>true</option> + and <option>on</option> are equivalent. For negative settings, the + strings <option>0</option>, <option>no</option>, + <option>false</option> and <option>off</option> are + equivalent.</para> + + <para>Time span values encoded in configuration files can be written in various formats. A stand-alone + number specifies a time in seconds. If suffixed with a time unit, the unit is honored. A + concatenation of multiple values with units is supported, in which case the values are added + up. Example: <literal>50</literal> refers to 50 seconds; <literal>2min 200ms</literal> refers to + 2 minutes and 200 milliseconds, i.e. 120200 ms. The following time units are understood: + <literal>s</literal>, <literal>min</literal>, <literal>h</literal>, <literal>d</literal>, + <literal>w</literal>, <literal>ms</literal>, <literal>us</literal>. For details see + <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para> + <para>Various settings are allowed to be specified more than once, in which case the interpretation depends on the setting. Often, multiple settings form a list, and setting to an empty value "resets", which means that previous assignments are ignored. When this is allowed, @@ -95,4 +112,11 @@ KeyTwo=value 2 \ file format.</para> </refsect1> + <refsect1> + <title>See Also</title> + <para> + <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry> + </para> + </refsect1> + </refentry> diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index f5d2f9fd7d..c615739e33 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -118,23 +118,6 @@ do not need the prefix. Applications may use this to include additional information in the unit files.</para> - <para>Boolean arguments used in unit files can be written in - various formats. For positive settings the strings - <option>1</option>, <option>yes</option>, <option>true</option> - and <option>on</option> are equivalent. For negative settings, the - strings <option>0</option>, <option>no</option>, - <option>false</option> and <option>off</option> are - equivalent.</para> - - <para>Time span values encoded in unit files can be written in various formats. A stand-alone - number specifies a time in seconds. If suffixed with a time unit, the unit is honored. A - concatenation of multiple values with units is supported, in which case the values are added - up. Example: <literal>50</literal> refers to 50 seconds; <literal>2min 200ms</literal> refers to - 2 minutes and 200 milliseconds, i.e. 120200 ms. The following time units are understood: - <literal>s</literal>, <literal>min</literal>, <literal>h</literal>, <literal>d</literal>, - <literal>w</literal>, <literal>ms</literal>, <literal>us</literal>. For details see - <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para> - <para>Units can be aliased (have an alternative name), by creating a symlink from the new name to the existing name in one of the unit search paths. For example, <filename>systemd-networkd.service</filename> has the alias |