From: Lennart Poettering Date: Tue, 1 Oct 2024 13:52:56 +0000 (+0200) Subject: man: drop reference to /bin/ from docs regarding binary search path X-Git-Tag: v257-rc1~327^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F34610%2Fhead;p=thirdparty%2Fsystemd.git 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. --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index bbff40559a1..56ff4577cef 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -1428,13 +1428,11 @@ 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 - /usr/local/bin/, /usr/bin/, /bin/ on - systems using split /usr/bin/ and /bin/ directories, and their - sbin/ counterparts on systems using split bin/ and - sbin/. 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 systemd-path search-binaries-default. - + /usr/local/bin/, /usr/bin/, and their + sbin/ counterparts (only on systems using split bin/ and + sbin/). 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 systemd-path search-binaries-default. The command line accepts % specifiers as described in systemd.unit5.