summaryrefslogtreecommitdiff
path: root/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-29 20:47:09 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-29 20:47:15 +0100
commitf3bff0eb3bc65de3b74286415a996af9556333af (patch)
treef55b91bf9998177b5a2f0007bcf21d50e7a59707 /load-fragment.c
parent9eba9da4bce4778b4d5dd43e2c41756976a1582b (diff)
implement recursive_stop/stop_when_unneeded unit flags
Diffstat (limited to 'load-fragment.c')
-rw-r--r--load-fragment.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/load-fragment.c b/load-fragment.c
index 6864622515..ac96d0f746 100644
--- a/load-fragment.c
+++ b/load-fragment.c
@@ -821,6 +821,8 @@ static int load_from_path(Unit *u, const char *path) {
{ "Conflicts", config_parse_deps, UINT_TO_PTR(UNIT_CONFLICTS), "Meta" },
{ "Before", config_parse_deps, UINT_TO_PTR(UNIT_BEFORE), "Meta" },
{ "After", config_parse_deps, UINT_TO_PTR(UNIT_AFTER), "Meta" },
+ { "RecursiveStop", config_parse_bool, &u->meta.recursive_stop, "Meta" },
+ { "StopWhenUnneeded", config_parse_bool, &u->meta.stop_when_unneeded, "Meta" },
{ "PIDFile", config_parse_path, &u->service.pid_file, "Service" },
{ "ExecStartPre", config_parse_exec, u->service.exec_command+SERVICE_EXEC_START_PRE, "Service" },