zax updates
[anomen-kernel-config.git] / zax / customs / etc / rc.conf
blob7207486201f6c444ee873e1dcb4a4d3033a90613
1 # Global OpenRC configuration settings
3 # Set to "YES" if you want the rc system to try and start services
4 # in parallel for a slight speed improvement. When running in parallel we
5 # prefix the service output with its name as the output will get
6 # jumbled up.
7 # WARNING: whilst we have improved parallel, it can still potentially lock
8 # the boot process. Don't file bugs about this unless you can supply
9 # patches that fix it without breaking other things!
10 #rc_parallel="YES"
11 rc_parallel="NO"
13 # Set rc_interactive to "YES" and you'll be able to press the I key during
14 # boot so you can choose to start specific services. Set to "NO" to disable
15 # this feature. This feature is automatically disabled if rc_parallel is
16 # set to YES.
17 #rc_interactive="YES"
19 # If we need to drop to a shell, you can specify it here.
20 # If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
21 # otherwise /bin/sh
22 # Linux users could specify /sbin/sulogin
23 rc_shell=/sbin/sulogin
25 # Do we allow any started service in the runlevel to satisfy the dependency
26 # or do we want all of them regardless of state? For example, if net.eth0
27 # and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
28 # both will be started, but services that depend on 'net' will work if either
29 # one comes up. With rc_depend_strict="YES" we would require them both to
30 # come up.
31 #rc_depend_strict="YES"
33 # rc_hotplug is a list of services that we allow to be hotplugged.
34 # By default we do not allow hotplugging.
35 # A hotplugged service is one started by a dynamic dev manager when a matching
36 # hardware device is found.
37 # This service is intrinsically included in the boot runlevel.
38 # To disable services, prefix with a !
39 # Example - rc_hotplug="net.wlan !net.*"
40 # This allows net.wlan and any service not matching net.* to be plugged.
41 # Example - rc_hotplug="*"
42 # This allows all services to be hotplugged
43 #rc_hotplug="*"
45 # rc_logger launches a logging daemon to log the entire rc process to
46 # /var/log/rc.log
47 # NOTE: Linux systems require the devfs service to be started before
48 # logging can take place and as such cannot log the sysinit runlevel.
49 #rc_logger="YES"
51 # Through rc_log_path you can specify a custom log file.
52 # The default value is: /var/log/rc.log
53 #rc_log_path="/var/log/rc.log"
55 # If you want verbose output for OpenRC, set this to yes. If you want
56 # verbose output for service foo only, set it to yes in /etc/conf.d/foo.
57 #rc_verbose=no
59 # By default we filter the environment for our running scripts. To allow other
60 # variables through, add them here. Use a * to allow all variables through.
61 #rc_env_allow="VAR1 VAR2"
63 # By default we assume that all daemons will start correctly.
64 # However, some do not - a classic example is that they fork and return 0 AND
65 # then child barfs on a configuration error. Or the daemon has a bug and the
66 # child crashes. You can set the number of milliseconds start-stop-daemon
67 # waits to check that the daemon is still running after starting here.
68 # The default is 0 - no checking.
69 #rc_start_wait=100
71 # rc_nostop is a list of services which will not stop when changing runlevels.
72 # This still allows the service itself to be stopped when called directly.
73 #rc_nostop=""
75 # rc will attempt to start crashed services by default.
76 # However, it will not stop them by default as that could bring down other
77 # critical services.
78 #rc_crashed_stop=NO
79 #rc_crashed_start=YES
81 # Set rc_nocolor to yes if you do not want colors displayed in OpenRC
82 # output.
83 #rc_nocolor=NO
85 ##############################################################################
86 # MISC CONFIGURATION VARIABLES
87 # There variables are shared between many init scripts
89 # Set unicode to YES to turn on unicode support for keyboards and screens.
90 unicode="YES"
92 # This is how long fuser should wait for a remote server to respond. The
93 # default is 60 seconds, but  it can be adjusted here.
94 #rc_fuser_timeout=60
96 # Below is the default list of network fstypes.
98 # afs ceph cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
99 # nfs nfs4 ocfs2 shfs smbfs
101 # If you would like to add to this list, you can do so by adding your
102 # own fstypes to the following variable.
103 #extra_net_fs_list=""
105 ##############################################################################
106 # SERVICE CONFIGURATION VARIABLES
107 # These variables are documented here, but should be configured in
108 # /etc/conf.d/foo for service foo and NOT enabled here unless you
109 # really want them to work on a global basis.
110 # If your service has characters in its name which are not legal in
111 # shell variable names and you configure the variables for it in this
112 # file, those characters should be replaced with underscores in the
113 # variable names as shown below.
115 # Some daemons are started and stopped via start-stop-daemon.
116 # We can set some things on a per service basis, like the nicelevel.
117 #SSD_NICELEVEL="-19"
119 # Pass ulimit parameters
120 # If you are using bash in POSIX mode for your shell, note that the
121 # ulimit command uses a block size of 512 bytes for the -c and -f
122 # options
123 #rc_ulimit="-u 30"
125 # It's possible to define extra dependencies for services like so
126 #rc_config="/etc/foo"
127 #rc_need="openvpn"
128 #rc_use="net.eth0"
129 #rc_after="clock"
130 #rc_before="local"
131 #rc_provide="!net"
133 # You can also enable the above commands here for each service. Below is an
134 # example for service foo.
135 #rc_foo_config="/etc/foo"
136 #rc_foo_need="openvpn"
137 #rc_foo_after="clock"
139 # Below is an example for service foo-bar. Note that the '-' is illegal
140 # in a shell variable name, so we convert it to an underscore.
141 # example for service foo-bar.
142 #rc_foo_bar_config="/etc/foo-bar"
143 #rc_foo_bar_need="openvpn"
144 #rc_foo_bar_after="clock"
146 # You can also remove dependencies.
147 # This is mainly used for saying which servies do NOT provide net.
148 #rc_net_tap0_provide="!net"
150 ##############################################################################
151 # LINUX SPECIFIC OPTIONS
153 # This is the subsystem type. Valid options on Linux:
154 # ""               - nothing special
155 # "lxc"            - Linux Containers
156 # "openvz"         - Linux OpenVZ
157 # "prefix"         - Prefix
158 # "uml"            - Usermode Linux
159 # "vserver"        - Linux vserver
160 # "systemd-nspawn" - Container created by the systemd-nspawn utility
161 # "xen0"           - Xen0 Domain
162 # "xenU"           - XenU Domain
163 # If this is commented out, automatic detection will be used.
165 # This should be set to the value representing the environment this file is
166 # PRESENTLY in, not the virtualization the environment is capable of.
167 rc_sys=""
169 # This is the number of tty's used in most of the rc-scripts (like
170 # consolefont, numlock, etc ...)
171 rc_tty_number=12
173 ##############################################################################
174 # CGROUPS RESOURCE MANAGEMENT
176 # If you have cgroups turned on in your kernel, this switch controls
177 # whether or not a group for each controller is mounted under
178 # /sys/fs/cgroup.
179 # None of the other options in this section work if this is set to "NO".
180 #rc_controller_cgroups="YES"
182 # The following settings allow you to set up values for the cgroup
183 # controllers for your services.
184 # They can be set in this file;, however, if you do this, the settings
185 # will apply to all of your services.
186 # If you want different settings for each service, place the settings in
187 # /etc/conf.d/foo for service foo.
188 # The format is to specify the names of the settings followed by their
189 # values. Each variable can hold multiple settings.
190 # For example, you would use this to set the cpu.shares setting in the
191 # cpu controller to 512 for your service.
192 # rc_cgroup_cpu="
193 # cpu.shares 512
194 # "
196 #For more information about the adjustments that can be made with
197 #cgroups, see Documentation/cgroups/* in the linux kernel source tree.
199 # Set the blkio controller settings for this service.
200 #rc_cgroup_blkio=""
202 # Set the cpu controller settings for this service.
203 #rc_cgroup_cpu=""
205 # Add this service to the cpuacct controller (any value means yes).
206 #rc_cgroup_cpuacct=""
208 # Set the cpuset controller settings for this service.
209 #rc_cgroup_cpuset=""
211 # Set the devices controller settings for this service.
212 #rc_cgroup_devices=""
214 # Set the memory controller settings for this service.
215 #rc_cgroup_memory=""
217 # Set the net_prio controller settings for this service.
218 #rc_cgroup_net_prio=""
220 # Set this to YES if yu want all of the processes in a service's cgroup
221 # killed when the service is stopped or restarted.
222 # This should not be set globally because it kills all of the service's
223 # child processes, and most of the time this is undesirable. Please set
224 # it in /etc/conf.d/<service>.
225 # To perform this cleanup manually for a stopped service, you can
226 # execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
227 # rc-service <service> cgroup_cleanup.
228 # rc_cgroup_cleanup="NO"