summaryrefslogtreecommitdiff
path: root/man/systemd.unit.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-04-08 18:09:18 +0200
committerLennart Poettering <lennart@poettering.net>2022-04-08 22:18:28 +0200
commitd0aba07f1ac8d6df2ccfa033fe1e195b1b9e5272 (patch)
tree6599ebb09a2a88d68ef857076eb435b297a74be4 /man/systemd.unit.xml
parente22983e80f5c95025549f28d30536afddc06f68d (diff)
downloadsystemd-d0aba07f1ac8d6df2ccfa033fe1e195b1b9e5272.tar.gz
specifier: use %q for pretty hostname
%R is already used in service manager specifier expansion (cgroup root), hence use a different char, that was so far not used. Follow-up for: 6ceb0a4094908dd213a78b9f6d0c59a684831ab0
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r--man/systemd.unit.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 7a611dc93f..cd033ac52e 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -2097,7 +2097,7 @@ Note that this setting is <emphasis>not</emphasis> influenced by the <varname>Us
<row>
<!-- We do not use the common definition from standard-specifiers.xml here since we want a
slightly more verbose explanation here, referring to the reload cycle. -->
- <entry><literal>%R</literal></entry>
+ <entry><literal>%q</literal></entry>
<entry>Pretty host name</entry>
<entry>The pretty hostname of the running system at the point in time the unit configuration is loaded, as read from the <varname>PRETTY_HOSTNAME=</varname> field of <filename>/etc/machine-info</filename>. If not set, resolves to the short hostname. See <citerefentry><refentrytitle>machine-info</refentrytitle><manvolnum>5</manvolnum></citerefentry> for more information.</entry>
</row>