From: Zbigniew Jędrzejewski-Szmek Date: Sat, 14 Dec 2013 22:30:25 +0000 (-0500) Subject: man: remove advice to avoid setting the same var more than once X-Git-Tag: v209~924 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6baf995c17a95ca0d6b5ad0b1f1667c956574816;ds=sidebyside man: remove advice to avoid setting the same var more than once So far the compatibility with .desktop settings hasn't been imporant at all, and we do not want people to write convoluted unit files. --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 103c495fb..f6b9fe296 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -321,11 +321,7 @@ (these semicolons must be passed as separate words). Alternatively, this directive may be specified more than - once with the same effect. However, - the latter syntax is not recommended - for compatibility with parsers - suitable for XDG - .desktop files. + once with the same effect. Lone semicolons may be escaped as \;. If the empty string is assigned to this option, the diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 35dd4c78c..8d6acc7b0 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -120,6 +120,17 @@ systemd.scope5. + 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, it is mentioned in the description of the + setting. Note that using multiple assignments to the + same value makes the unit file incompatible with + parsers for the XDG .desktop file + format. + Unit files are loaded from a set of paths determined during compilation, described in the next section.