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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-12-25 11:12:54 -05:00
parent aa1aad74e6
commit b7a4d8de92

View file

@ -1556,6 +1556,16 @@
</tbody>
</tgroup>
</table>
<para>Please note that specifiers
<literal>%U</literal>, <literal>%h</literal>,
<literal>%s</literal> 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 <option>--user</option> mode.</para>
</refsect1>
<refsect1>