2011-04-19 01:12:02 +05:30
|
|
|
##############################################################################
|
|
|
|
# LINUX SPECIFIC OPTIONS
|
|
|
|
|
2011-01-06 11:33:43 +05:30
|
|
|
# This is the subsystem type. Valid options on Linux:
|
2015-04-29 01:37:21 +05:30
|
|
|
# "" - nothing special
|
2015-12-02 05:50:02 +05:30
|
|
|
# "docker" - Docker container manager
|
2015-04-29 01:37:21 +05:30
|
|
|
# "lxc" - Linux Containers
|
|
|
|
# "openvz" - Linux OpenVZ
|
|
|
|
# "prefix" - Prefix
|
|
|
|
# "uml" - Usermode Linux
|
|
|
|
# "vserver" - Linux vserver
|
|
|
|
# "systemd-nspawn" - Container created by the systemd-nspawn utility
|
|
|
|
# "xen0" - Xen0 Domain
|
|
|
|
# "xenU" - XenU Domain
|
2012-01-25 23:12:32 +05:30
|
|
|
# If this is commented out, automatic detection will be used.
|
2011-01-17 04:18:10 +05:30
|
|
|
#
|
2011-03-12 03:41:10 +05:30
|
|
|
# This should be set to the value representing the environment this file is
|
|
|
|
# PRESENTLY in, not the virtualization the environment is capable of.
|
2012-01-26 00:36:55 +05:30
|
|
|
#rc_sys=""
|
2007-04-05 16:48:42 +05:30
|
|
|
|
|
|
|
# This is the number of tty's used in most of the rc-scripts (like
|
|
|
|
# consolefont, numlock, etc ...)
|
2007-11-23 17:34:11 +05:30
|
|
|
rc_tty_number=12
|
2012-07-04 00:19:58 +05:30
|
|
|
|
2012-10-26 10:35:41 +05:30
|
|
|
##############################################################################
|
|
|
|
# CGROUPS RESOURCE MANAGEMENT
|
|
|
|
|
2012-07-04 00:19:58 +05:30
|
|
|
# If you have cgroups turned on in your kernel, this switch controls
|
2012-12-04 02:29:22 +05:30
|
|
|
# whether or not a group for each controller is mounted under
|
2012-07-04 00:19:58 +05:30
|
|
|
# /sys/fs/cgroup.
|
2012-10-26 10:35:41 +05:30
|
|
|
# None of the other options in this section work if this is set to "NO".
|
2012-07-04 00:19:58 +05:30
|
|
|
#rc_controller_cgroups="YES"
|
2012-10-26 10:35:41 +05:30
|
|
|
|
2013-02-18 02:44:06 +05:30
|
|
|
# The following settings allow you to set up values for the cgroup
|
|
|
|
# controllers for your services.
|
|
|
|
# They can be set in this file;, however, if you do this, the settings
|
|
|
|
# will apply to all of your services.
|
2012-10-26 10:35:41 +05:30
|
|
|
# If you want different settings for each service, place the settings in
|
|
|
|
# /etc/conf.d/foo for service foo.
|
2013-02-18 02:44:06 +05:30
|
|
|
# The format is to specify the names of the settings followed by their
|
|
|
|
# values. Each variable can hold multiple settings.
|
|
|
|
# For example, you would use this to set the cpu.shares setting in the
|
|
|
|
# cpu controller to 512 for your service.
|
|
|
|
# rc_cgroup_cpu="
|
|
|
|
# cpu.shares 512
|
|
|
|
# "
|
|
|
|
#
|
|
|
|
#For more information about the adjustments that can be made with
|
|
|
|
#cgroups, see Documentation/cgroups/* in the linux kernel source tree.
|
|
|
|
|
|
|
|
# Set the blkio controller settings for this service.
|
|
|
|
#rc_cgroup_blkio=""
|
|
|
|
|
|
|
|
# Set the cpu controller settings for this service.
|
|
|
|
#rc_cgroup_cpu=""
|
|
|
|
|
|
|
|
# Add this service to the cpuacct controller (any value means yes).
|
|
|
|
#rc_cgroup_cpuacct=""
|
|
|
|
|
|
|
|
# Set the cpuset controller settings for this service.
|
|
|
|
#rc_cgroup_cpuset=""
|
|
|
|
|
|
|
|
# Set the devices controller settings for this service.
|
|
|
|
#rc_cgroup_devices=""
|
|
|
|
|
2015-10-07 01:32:28 +05:30
|
|
|
# Set the hugetlb controller settings for this service.
|
|
|
|
#rc_cgroup_hugetlb=""
|
|
|
|
|
2013-02-18 02:44:06 +05:30
|
|
|
# Set the memory controller settings for this service.
|
|
|
|
#rc_cgroup_memory=""
|
2012-10-26 10:35:41 +05:30
|
|
|
|
2015-10-07 01:32:28 +05:30
|
|
|
# Set the net_cls controller settings for this service.
|
|
|
|
#rc_cgroup_net_cls=""
|
|
|
|
|
2013-02-18 02:44:06 +05:30
|
|
|
# Set the net_prio controller settings for this service.
|
|
|
|
#rc_cgroup_net_prio=""
|
2013-04-16 11:22:33 +05:30
|
|
|
|
2015-10-07 01:32:28 +05:30
|
|
|
# Set the pids controller settings for this service.
|
|
|
|
#rc_cgroup_pids=""
|
|
|
|
|
2013-04-16 11:22:33 +05:30
|
|
|
# Set this to YES if yu want all of the processes in a service's cgroup
|
|
|
|
# killed when the service is stopped or restarted.
|
|
|
|
# This should not be set globally because it kills all of the service's
|
|
|
|
# child processes, and most of the time this is undesirable. Please set
|
|
|
|
# it in /etc/conf.d/<service>.
|
|
|
|
# To perform this cleanup manually for a stopped service, you can
|
|
|
|
# execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
|
|
|
|
# rc-service <service> cgroup_cleanup.
|
|
|
|
# rc_cgroup_cleanup="NO"
|