]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: drop reference to /bin/ from docs regarding binary search path 34610/head
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Oct 2024 13:52:56 +0000 (15:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Oct 2024 08:57:25 +0000 (10:57 +0200)
We don't support "split /usr" systems anymore, hence no point in
mentioning /bin/ anymore as being part of the binary search path.

man/systemd.service.xml

index bbff40559a10c1b2b8bde344fe05892b5a67ae57..56ff4577cef696d59d69ba3b8a386981a5876b7f 100644 (file)
     <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>