From 8733e4f6c57309b7bc5ea43e758c290b497f5b23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 21 May 2019 19:31:49 +0200 Subject: [PATCH] man: add note that %h/%u/%U are mostly useless Fixes #12389. (cherry picked from commit b4e2407716731d1ce099bad1c2778f7a4424ed2e) Gbp-Pq: Name man-add-note-that-h-u-U-are-mostly-useless.patch --- man/systemd.unit.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index f21f9eae..be6355db 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1580,7 +1580,9 @@ %h User home directory - This is the home directory of the user running the service manager instance. In case of the system manager this resolves to /root. + This is the home directory of the user running the service manager instance. In case of the system manager this resolves to /root. + +Note that this setting is not influenced by the User= setting configurable in the [Service] section of the service unit. %H @@ -1670,12 +1672,16 @@ %u User name - This is the name of the user running the service manager instance. In case of the system manager this resolves to root. + This is the name of the user running the service manager instance. In case of the system manager this resolves to root. + +Note that this setting is not influenced by the User= setting configurable in the [Service] section of the service unit. %U User UID - This is the numeric UID of the user running the service manager instance. In case of the system manager this resolves to 0. + This is the numeric UID of the user running the service manager instance. In case of the system manager this resolves to 0. + +Note that this setting is not influenced by the User= setting configurable in the [Service] section of the service unit. %v -- 2.30.2