|
Zbigniew Jędrzejewski-Szmek |
126222 |
From 7c6c28dca3b75b7d0c2d067752ed917b113d90d2 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
Date: Sat, 14 Dec 2013 17:30:25 -0500
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
Subject: [PATCH] man: remove advice to avoid setting the same var more than
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
once
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
So far the compatibility with .desktop settings hasn't been imporant
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
at all, and we do not want people to write convoluted unit
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
files.
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
man/systemd.service.xml | 6 +-----
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
man/systemd.unit.xml | 11 +++++++++++
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
2 files changed, 12 insertions(+), 5 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
index ca297ba..8f9137c 100644
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
--- a/man/systemd.service.xml
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+++ b/man/systemd.service.xml
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
@@ -321,11 +321,7 @@
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
(these semicolons must be passed as
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
separate words). Alternatively, this
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
directive may be specified more than
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
- once with the same effect. However,
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
- the latter syntax is not recommended
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
- for compatibility with parsers
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
- suitable for XDG
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
- <filename>.desktop</filename> files.
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ once with the same effect.
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
Lone semicolons may be escaped as
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
<literal>\;</literal>. If the empty
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
string is assigned to this option, the
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
index 029392c..77127ff 100644
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
--- a/man/systemd.unit.xml
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+++ b/man/systemd.unit.xml
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
@@ -120,6 +120,17 @@
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
<citerefentry><refentrytitle>systemd.scope</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
</para>
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ <para>Various settings are allowed to be specified
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ more than once, in which case the interpretation
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ depends on the setting. Often, multiple settings form
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ a list, and setting to an empty value "resets", which
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ means that previous assignments are ignored. When this
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ is allowed, it is mentioned in the description of the
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ setting. Note that using multiple assignments to the
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ same value makes the unit file incompatible with
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ parsers for the XDG <filename>.desktop</filename> file
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+ format.</para>
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
<para>Unit files are loaded from a set of paths
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
determined during compilation, described in the next section.
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
</para>
|