Merge pull request #12336 from anitazha/disablecontroller

core: support DisableControllers= for transient units
This commit is contained in:
Chris Down
2019-04-23 10:42:37 +02:00
committed by GitHub
4 changed files with 31 additions and 9 deletions
+4
View File
@@ -396,6 +396,10 @@ static int bus_append_cgroup_property(sd_bus_message *m, const char *field, cons
return bus_append_cg_blkio_weight_parse(m, field, eq);
if (streq(field, "DisableControllers"))
return bus_append_strv(m, "DisableControllers", eq, EXTRACT_QUOTES);
if (streq(field, "Delegate")) {
r = parse_boolean(eq);