diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-10 17:48:41 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-10 18:00:34 +0200 |
commit | b778d55514dd5ebee86c41be1193c813f9d23f29 (patch) | |
tree | 568ceb2a6e522e0e4dcf8d4363b214470bc0f88d | |
parent | 43d0fcbd3f54a5f3c5636acf9b54f19a07de7a18 (diff) |
load-fragment: move NonBlocking option from generic to service options
-rw-r--r-- | load-fragment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/load-fragment.c b/load-fragment.c index f24950c70d..353a086d04 100644 --- a/load-fragment.c +++ b/load-fragment.c @@ -1170,7 +1170,6 @@ static int load_from_path(Unit *u, const char *path, UnitLoadState *new_state) { { "LimitNICE", config_parse_limit, &(context).rlimit[RLIMIT_NICE], section }, \ { "LimitRTPRIO", config_parse_limit, &(context).rlimit[RLIMIT_RTPRIO], section }, \ { "LimitRTTIME", config_parse_limit, &(context).rlimit[RLIMIT_RTTIME], section }, \ - { "NonBlocking", config_parse_bool, &(context).non_blocking, section }, \ { "ControlGroup", config_parse_cgroup, u, section }, \ { "NewSession", config_parse_bool, &(context).new_session, section } @@ -1204,6 +1203,7 @@ static int load_from_path(Unit *u, const char *path, UnitLoadState *new_state) { { "ValidNoProcess", config_parse_bool, &u->service.valid_no_process, "Service" }, { "SysVStartPriority", config_parse_sysv_priority, &u->service.sysv_start_priority, "Service" }, { "KillMode", config_parse_kill_mode, &u->service.kill_mode, "Service" }, + { "NonBlocking", config_parse_bool, &u->service.exec_context.non_blocking, "Service" }, EXEC_CONTEXT_CONFIG_ITEMS(u->service.exec_context, "Service"), { "ListenStream", config_parse_listen, &u->socket, "Socket" }, |