summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-12 04:25:02 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-12 04:25:02 +0200
commit82e487c56d0947796793b6fd2836264328defe9f (patch)
tree2dfd5d979d064c7bc116cfca28ea1e1df65eac70 /src/load-fragment.c
parent3611581ebdabbe3a1d6a9b5310a0b59792279d7d (diff)
unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index 05e60bf8fd..5c1dff60b8 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -2003,6 +2003,7 @@ static int load_from_path(Unit *u, const char *path) {
{ "ConditionPathExistsGlob", config_parse_condition_path, CONDITION_PATH_EXISTS_GLOB, u, "Unit" },
{ "ConditionPathIsDirectory", config_parse_condition_path, CONDITION_PATH_IS_DIRECTORY, u, "Unit" },
{ "ConditionDirectoryNotEmpty", config_parse_condition_path, CONDITION_DIRECTORY_NOT_EMPTY, u, "Unit" },
+ { "ConditionFileIsExecutable", config_parse_condition_path, CONDITION_FILE_IS_EXECUTABLE, u, "Unit" },
{ "ConditionKernelCommandLine", config_parse_condition_string, CONDITION_KERNEL_COMMAND_LINE, u, "Unit" },
{ "ConditionVirtualization", config_parse_condition_string, CONDITION_VIRTUALIZATION, u, "Unit" },
{ "ConditionSecurity", config_parse_condition_string, CONDITION_SECURITY, u, "Unit" },