From 96c0549bda0c2fc682a9dee308ad1a90d2ebd422 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 1 Oct 2024 15:52:56 +0200 Subject: [PATCH] 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 f39e66b85a4a97818a618758e34019d052aeb772) --- man/systemd.service.xml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 14ea58a102a..c5431854554 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -1406,13 +1406,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.