summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-21 19:31:49 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-05-22 16:28:02 +0200
commitb4e2407716731d1ce099bad1c2778f7a4424ed2e (patch)
treed89c555b9993e3f0f86e43e212dd38b1afeee6b3 /man
parent9d48671c62de133a2b9fe7c31e70c0ff8e68f2db (diff)
downloadsystemd-b4e2407716731d1ce099bad1c2778f7a4424ed2e.tar.gz
man: add note that %h/%u/%U are mostly useless
Fixes #12389.
Diffstat (limited to 'man')
-rw-r--r--man/systemd.unit.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 3079db1a6b..d13212ebcc 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -1607,7 +1607,9 @@
<row>
<entry><literal>%h</literal></entry>
<entry>User home directory</entry>
- <entry>This is the home directory of the user running the service manager instance. In case of the system manager this resolves to <literal>/root</literal>.</entry>
+ <entry>This is the home directory of the <emphasis>user running the service manager instance</emphasis>. In case of the system manager this resolves to <literal>/root</literal>.
+
+Note that this setting is <emphasis>not</emphasis> influenced by the <varname>User=</varname> setting configurable in the [Service] section of the service unit.</entry>
</row>
<row>
<entry><literal>%H</literal></entry>
@@ -1697,12 +1699,16 @@
<row>
<entry><literal>%u</literal></entry>
<entry>User name</entry>
- <entry>This is the name of the user running the service manager instance. In case of the system manager this resolves to <literal>root</literal>.</entry>
+ <entry>This is the name of the <emphasis>user running the service manager instance</emphasis>. In case of the system manager this resolves to <literal>root</literal>.
+
+Note that this setting is <emphasis>not</emphasis> influenced by the <varname>User=</varname> setting configurable in the [Service] section of the service unit.</entry>
</row>
<row>
<entry><literal>%U</literal></entry>
<entry>User UID</entry>
- <entry>This is the numeric UID of the user running the service manager instance. In case of the system manager this resolves to <literal>0</literal>.</entry>
+ <entry>This is the numeric UID of the <emphasis>user running the service manager instance</emphasis>. In case of the system manager this resolves to <literal>0</literal>.
+
+Note that this setting is <emphasis>not</emphasis> influenced by the <varname>User=</varname> setting configurable in the [Service] section of the service unit.</entry>
</row>
<row>
<entry><literal>%v</literal></entry>