diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-04-08 18:09:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-04-08 22:18:28 +0200 |
commit | d0aba07f1ac8d6df2ccfa033fe1e195b1b9e5272 (patch) | |
tree | 6599ebb09a2a88d68ef857076eb435b297a74be4 /man/systemd.unit.xml | |
parent | systemd-creds: fix name of env var (diff) | |
download | systemd-d0aba07f1ac8d6df2ccfa033fe1e195b1b9e5272.tar.xz systemd-d0aba07f1ac8d6df2ccfa033fe1e195b1b9e5272.zip |
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.xml | 2 |
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> |