1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

man: drop reference to /bin/ from docs regarding binary search path

We don't support "split /usr" systems anymore, hence no point in
mentioning /bin/ anymore as being part of the binary search path.

(cherry picked from commit f39e66b85a)
This commit is contained in:
Lennart Poettering 2024-10-01 15:52:56 +02:00 committed by Luca Boccassi
parent aeda397aed
commit 96c0549bda

View File

@ -1406,13 +1406,11 @@
<para>For each command, the first argument must be either an absolute path to an executable or a simple
file name without any slashes. If the command is not a full (absolute) path, it will be resolved to a
full path using a fixed search path determined at compilation time. Searched directories include
<filename>/usr/local/bin/</filename>, <filename>/usr/bin/</filename>, <filename>/bin/</filename> on
systems using split <filename>/usr/bin/</filename> and <filename>/bin/</filename> directories, and their
<filename>sbin/</filename> counterparts on systems using split <filename>bin/</filename> and
<filename>sbin/</filename>. It is thus safe to use just the executable name in case of executables
located in any of the "standard" directories, and an absolute path must be used in other cases.
Hint: this search path may be queried using <command>systemd-path search-binaries-default</command>.
</para>
<filename>/usr/local/bin/</filename>, <filename>/usr/bin/</filename>, and their
<filename>sbin/</filename> counterparts (only on systems using split <filename>bin/</filename> and
<filename>sbin/</filename>). It is thus safe to use just the executable name in case of executables
located in any of the "standard" directories, and an absolute path must be used in other cases. Hint:
this search path may be queried using <command>systemd-path search-binaries-default</command>.</para>
<para>The command line accepts <literal>%</literal> specifiers as described in
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>