core: ExecCondition= for services

Closes #10596
This commit is contained in:
Anita Zhang
2019-07-17 11:35:02 +02:00
committed by Lennart Poettering
parent cc2f3f05a7
commit 31cd5f63ce
21 changed files with 225 additions and 23 deletions
+1 -1
View File
@@ -1432,7 +1432,7 @@ static int bus_append_service_property(sd_bus_message *m, const char *field, con
return bus_append_safe_atou(m, field, eq);
if (STR_IN_SET(field,
"ExecStartPre", "ExecStart", "ExecStartPost",
"ExecCondition", "ExecStartPre", "ExecStart", "ExecStartPost",
"ExecStartPreEx", "ExecStartEx", "ExecStartPostEx",
"ExecReload", "ExecStop", "ExecStopPost"))
return bus_append_exec_command(m, field, eq);