From 8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938 Mon Sep 17 00:00:00 2001 From: alexlzhu Date: Thu, 8 Jul 2021 17:10:47 -0700 Subject: core: Add ExecSearchPath parameter to specify the directory relative to which binaries executed by Exec*= should be found Currently there does not exist a way to specify a path relative to which all binaries executed by Exec should be found. The only way is to specify the absolute path. This change implements the functionality to specify a path relative to which binaries executed by Exec*= can be found. Closes #6308 --- src/shared/bus-unit-util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/bus-unit-util.c') diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index f9637ac0cc..e33e0c21e0 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -969,6 +969,7 @@ static int bus_append_execute_property(sd_bus_message *m, const char *field, con "InaccessiblePaths", "ExecPaths", "NoExecPaths", + "ExecSearchPath", "RuntimeDirectory", "StateDirectory", "CacheDirectory", -- cgit v1.2.1