summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samples/Makefile.am2
-rw-r--r--samples/cgconfig.sysconfig12
2 files changed, 13 insertions, 1 deletions
diff --git a/samples/Makefile.am b/samples/Makefile.am
index 347dd60..1bca4a1 100644
--- a/samples/Makefile.am
+++ b/samples/Makefile.am
@@ -1 +1 @@
-EXTRA_DIST = cgconfig.conf cgred.conf cgrules.conf
+EXTRA_DIST = cgconfig.conf cgred.conf cgrules.conf cgconfig.sysdefault
diff --git a/samples/cgconfig.sysconfig b/samples/cgconfig.sysconfig
new file mode 100644
index 0000000..5a61bf6
--- /dev/null
+++ b/samples/cgconfig.sysconfig
@@ -0,0 +1,12 @@
+# Service cgconfig can create a default group in all mounted hierarchies and
+# move all processes there on boot. If no default rule is specified in
+# /etc/cgrules.conf, the default group is named '/sysdefault'.
+# This automatically created group(s) can be useful e.g. when using 'cpu'
+# controller to limit cpu.shares of this default group and allowing some more
+# important group take most of the CPU.
+#
+# By default, create these groups:
+CREATE_DEFAULT=yes
+
+# Uncomment following line to disable creation of the default group on startup:
+# CREATE_DEFAULT=no