From: Zbigniew Jędrzejewski-Szmek Date: Thu, 25 Dec 2014 16:12:54 +0000 (-0500) Subject: man: add a note why %U,%h,%s are mostly useless X-Git-Tag: v219~820 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b7a4d8de9273fab20e1e32e4846b6a866884e07a;p=elogind.git 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. --- 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.