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
View File
@@ -163,6 +163,7 @@ DEFINE_STRING_TABLE_LOOKUP(scope_state, ScopeState);
static const char* const service_state_table[_SERVICE_STATE_MAX] = {
[SERVICE_DEAD] = "dead",
[SERVICE_CONDITION] = "condition",
[SERVICE_START_PRE] = "start-pre",
[SERVICE_START] = "start",
[SERVICE_START_POST] = "start-post",
+1
View File
@@ -102,6 +102,7 @@ typedef enum ScopeState {
typedef enum ServiceState {
SERVICE_DEAD,
SERVICE_CONDITION,
SERVICE_START_PRE,
SERVICE_START,
SERVICE_START_POST,