From 24142a8514d503c42034d50af2798566be552788 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Mon, 21 Mar 2016 12:53:15 -0700 Subject: [PATCH] Add a flag to enable systemd cgroups support in runc Signed-off-by: Mrunal Patel --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index c4cb0b60..4c25ba82 100644 --- a/main.go +++ b/main.go @@ -79,6 +79,10 @@ func main() { Value: "criu", Usage: "path to the criu binary used for checkpoint and restore", }, + cli.BoolFlag{ + Name: "systemd-cgroup", + Usage: "enable systemd cgroup support, expects cgroupsPath to be of form \"slice:prefix:name\" for e.g. \"system.slice:runc:434234\"", + }, } app.Commands = []cli.Command{ checkpointCommand,