summaryrefslogtreecommitdiff
path: root/man/sysusers.d.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-07 16:16:19 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-07 17:36:44 +0200
commite97708fa3e029902c02676bba6e6c2f54f1eba3a (patch)
tree349570a01163d44533cde31019e6c66a3b200ef4 /man/sysusers.d.xml
parenteef4b80033e9ca8e61ccb40a710babcfe9b69b26 (diff)
downloadsystemd-e97708fa3e029902c02676bba6e6c2f54f1eba3a.tar.gz
Add %l as specifier for the hostname without any domain component
As described in #15603, it is a fairly common setup to use a fqdn as the configured hostname. But it is often convenient to use just the actual hostname, i.e. until the first dot. This adds support in tmpfiles, sysusers, and unit files for %l which expands to that. Fixes #15603.
Diffstat (limited to 'man/sysusers.d.xml')
-rw-r--r--man/sysusers.d.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml
index f7db34ae90..38a95d6e1f 100644
--- a/man/sysusers.d.xml
+++ b/man/sysusers.d.xml
@@ -257,6 +257,7 @@ r - 500-900
<xi:include href="standard-specifiers.xml" xpointer="b"/>
<xi:include href="standard-specifiers.xml" xpointer="B"/>
<xi:include href="standard-specifiers.xml" xpointer="H"/>
+ <xi:include href="standard-specifiers.xml" xpointer="l"/>
<xi:include href="standard-specifiers.xml" xpointer="m"/>
<xi:include href="standard-specifiers.xml" xpointer="o"/>
<row>