You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

216 lines
8.1 KiB

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