]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/bus-unit-util.c
core: support DisableControllers= for transient units
[thirdparty/systemd.git] / src / shared / bus-unit-util.c
index cae526ba40931fe695f72f900a00d7428ef6c84a..c6cbc9828c88d9ef0c16315136e4e65e797db952 100644 (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);