summaryrefslogtreecommitdiff
path: root/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-07 23:23:58 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-07 23:23:58 +0200
commitee2b489421ce8b47c08fb42c598c5af47043a9f9 (patch)
tree42ce76a0cd9c766544c3effd60c6954a4a78d7b2 /load-fragment.c
parent0bc824be78848cdf12f19aff4144666dc4114858 (diff)
service: optionally, call setsid() on services
Diffstat (limited to 'load-fragment.c')
-rw-r--r--load-fragment.c3
1 files changed, 2 insertions, 1 deletions
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" },