From 3d7e401d4e08698e94d3843e24491ef19ecc42c6 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 10 Aug 2018 14:09:46 -0400 Subject: Swap default CGroup manager to systemd Signed-off-by: Matthew Heon --- libpod.conf | 2 +- libpod/runtime.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libpod.conf b/libpod.conf index 3a363e256..cef5a12d8 100644 --- a/libpod.conf +++ b/libpod.conf @@ -30,7 +30,7 @@ conmon_env_vars = [ ] # CGroup Manager - valid values are "systemd" and "cgroupfs" -cgroup_manager = "cgroupfs" +cgroup_manager = "systemd" # Directory for persistent libpod files (database, etc) # By default, this will be configured relative to where containers/storage diff --git a/libpod/runtime.go b/libpod/runtime.go index 1a384fde2..0652b24f4 100644 --- a/libpod/runtime.go +++ b/libpod/runtime.go @@ -178,7 +178,7 @@ var ( ConmonEnvVars: []string{ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", }, - CgroupManager: CgroupfsCgroupsManager, + CgroupManager: SystemdCgroupsManager, HooksDir: hooks.DefaultDir, StaticDir: filepath.Join(storage.DefaultStoreOptions.GraphRoot, "libpod"), TmpDir: "", -- cgit v1.2.3-54-g00ecf