summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-30 00:11:25 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-30 00:11:25 +0200
commit64747e2d4b6feb61e9f9e70d36ffcf5a972e168a (patch)
tree9eb50a36c3db5705d02982bd142526f49c8d92e2 /src/load-fragment.c
parent8585357a0e5e9f4d56e999d7cd1a73e77ae0eb80 (diff)
exec: add ControlGroupModify= switch to allow changing access mode to cgroups fs
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index 352db6b385..0c2ef91652 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -1911,7 +1911,8 @@ static int load_from_path(Unit *u, const char *path) {
{ "KillMode", config_parse_kill_mode, 0, &(context).kill_mode, section }, \
{ "KillSignal", config_parse_kill_signal, 0, &(context).kill_signal, section }, \
{ "SendSIGKILL", config_parse_bool, 0, &(context).send_sigkill, section }, \
- { "UtmpIdentifier", config_parse_string_printf, 0, &(context).utmp_id, section }
+ { "UtmpIdentifier", config_parse_string_printf, 0, &(context).utmp_id, section }, \
+ { "ControlGroupModify", config_parse_bool, 0, &(context).control_group_modify, section }
const ConfigItem items[] = {
{ "Names", config_parse_names, 0, u, "Unit" },