[systemd-devel] [PATCH v2 3/4] systemctl: support setting MemoryHierarchy through systemctl

Gao feng gaofeng at cn.fujitsu.com
Sun Sep 22 23:30:53 PDT 2013


support setting MemoryHierarchy of unit through systemctl.
---
 src/systemctl/systemctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 8b9183d..7d251a0 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -3644,6 +3644,7 @@ static int append_assignment(DBusMessageIter *iter, const char *assignment) {
 
         if (streq(field, "CPUAccounting") ||
             streq(field, "MemoryAccounting") ||
+            streq(field, "MemoryHierarchy") ||
             streq(field, "BlockIOAccounting")) {
                 dbus_bool_t b;
 
-- 
1.8.3.1



More information about the systemd-devel mailing list