From 1c57fa90be988b6f50324dbaf1996ddc3e114faf Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 27 Jul 2018 17:52:12 +0900 Subject: [PATCH] man: move explanations about boolean and time-span value from systemd.unit to systemd.syntax Fixes #9735. --- man/systemd.syntax.xml | 24 ++++++++++++++++++++++++ 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 1bb8e6b..3c67e92 100644 --- a/man/systemd.syntax.xml +++ b/man/systemd.syntax.xml @@ -87,6 +87,23 @@ KeyTwo=value 2 \ value 2 continued + Boolean arguments used in configuration files can be written in + various formats. For positive settings the strings + , , + and are equivalent. For negative settings, the + strings , , + and are + equivalent. + + 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: 50 refers to 50 seconds; 2min 200ms refers to + 2 minutes and 200 milliseconds, i.e. 120200 ms. The following time units are understood: + s, min, h, d, + w, ms, us. For details see + systemd.time7. + 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. + + See Also + + systemd.time7 + + + diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index f5d2f9f..c615739 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. - Boolean arguments used in unit files can be written in - various formats. For positive settings the strings - , , - and are equivalent. For negative settings, the - strings , , - and are - equivalent. - - 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: 50 refers to 50 seconds; 2min 200ms refers to - 2 minutes and 200 milliseconds, i.e. 120200 ms. The following time units are understood: - s, min, h, d, - w, ms, us. For details see - systemd.time7. - 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, systemd-networkd.service has the alias -- 2.7.4