From b7a4d8de9273fab20e1e32e4846b6a866884e07a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 25 Dec 2014 11:12:54 -0500 Subject: [PATCH] man: add a note why %U,%h,%s are mostly useless The reasons were already given in the description of %U, but the are easy to overlook, and it's better to be explicit to avoid confusion. --- man/systemd.unit.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 2e298ca04..1afa600a0 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1556,6 +1556,16 @@ + + Please note that specifiers + %U, %h, + %s are mostly useless when systemd + is running in system mode. PID 1 cannot query the + user account database for information, so the + specifiers only work as shortcuts for things which are + already specified in a different way in the unit + file. They are fully functional when systemd is + running in mode. -- 2.30.2