From ee2b489421ce8b47c08fb42c598c5af47043a9f9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Apr 2010 23:23:58 +0200 Subject: service: optionally, call setsid() on services --- load-fragment.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'load-fragment.c') diff --git a/load-fragment.c b/load-fragment.c index c0972d04fb..bd84e8fe79 100644 --- a/load-fragment.c +++ b/load-fragment.c @@ -1145,7 +1145,8 @@ static int load_from_path(Unit *u, const char *path, UnitLoadState *new_state) { { "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 } \ + { "ControlGroup", config_parse_cgroup, u, section }, \ + { "NewSession", config_parse_bool, &(context).new_session, section } const ConfigItem items[] = { { "Names", config_parse_names, u, "Meta" }, -- cgit v1.2.3-54-g00ecf