summaryrefslogtreecommitdiff
path: root/src/shared/bus-unit-util.c
diff options
context:
space:
mode:
authoralexlzhu <alexlzhu@devvm2387.atn0.facebook.com>2021-07-08 17:10:47 -0700
committerChris Down <chris@chrisdown.name>2021-09-28 14:52:27 +0100
commit8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938 (patch)
treebe87626fe62937be49a7b3388d75d44623ed2c5d /src/shared/bus-unit-util.c
parent5b32e48f6e3753600b9f6c44446b313294270f48 (diff)
downloadsystemd-8c35c10d20ff7b369bfff3fbbb92a43ca2fd5938.tar.gz
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
Diffstat (limited to 'src/shared/bus-unit-util.c')
-rw-r--r--src/shared/bus-unit-util.c1
1 files changed, 1 insertions, 0 deletions
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",