# /etc/conf.d/rc: Global config file for the Gentoo RC System # This is the number of tty's used in most of the rc-scripts (like # consolefont, numlock, etc ...) RC_TTY_NUMBER=0 # Set to "yes" if you want the rc system to try and start services # in parallel for a slight speed improvement. RC_PARALLEL_STARTUP="no" # Do we allow services to be hotplugged? If not, set to RC_HOTPLUG="no" # NOTE: This does not affect anything hotplug/udev related, just the # starting/stopping of the init.d service triggered by hotplug. RC_HOTPLUG="yes" # Dynamic /dev managers can trigger coldplug events which cause services to # start before we are ready for them. If this happens, we can defer these # services to start in the boot runlevel. Set RC_COLDPLUG="no" if you don't # want this. # NOTE: This does not affect anything coldplug/udev related, just the # starting/stopping of the init.d service triggered by coldplug. RC_COLDPLUG="yes" # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a # list of services that are matched in order, either allowing or not. By # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes # anyway. # Example - RC_PLUG_SERVICES="net.wlan !net.*" # This allows net.wlan and any service not matching net.* to be plugged. RC_PLUG_SERVICES="" # RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service. # The following values are allowed: # none - The 'net' service is always considered up. # no - This basically means that at least one net.* service besides net.lo # must be up. This can be used by notebook users that have a wifi and # a static nic, and only wants one up at any given time to have the # 'net' service seen as up. # lo - This is the same as the 'no' option, but net.lo is also counted. # This should be useful to people that do not care about any specific # interface being up at boot. # yes - For this ALL network interfaces MUST be up for the 'net' service to # be considered up. RC_NET_STRICT_CHECKING="none" # RC_AUTO_INTERFACE allows us to try and configure your interfaces # automatically. This includes: # - link /etc/{resolv,ntp,yp}.conf to /var/lib/net-scripts # - calculate a metric based on what interfaces are up and type # - apply interface state (resolv.conf, ntp.conf, etc) # - merge resolv.conf and ntp.conf from active interfaces based on metric # otherwise we don't do the above RC_AUTO_INTERFACE="no" # RC_DOWN_INTERFACE allows you to specify if RC will bring the interface # compeletly down when it stops. The default is yes, but there are some # instances where you may not want this to happen such as using Wake On LAN. RC_DOWN_INTERFACE="yes" # RC_VERBOSE will make init scripts more verbose. Only networking scripts # really use this at this time, and this is useful for trouble shooting # any issues you may have. RC_VERBOSE="no" # RC_INITSTYLE_HACK allows it to use the old (obsoleted) init style of # util-vserver RC_INITSTYLE_HACK="no" # # Controlling start-stop-daemon behavior # Set to "yes" if start-stop-daemon should always retry killing the # service with sig KILL if it fails the first time. RC_RETRY_KILL="yes" # Set the amount of seconds start-stop-daemon should wait between # retries. RC_RETRY_TIMEOUT=1 # Set the amount of times start-stop-daemon should try to kill # a service before giving up. RC_RETRY_COUNT=5 # Set to "yes" if start-stop-daemon should fail if the service # is marked as started, but not actually running on stop. RC_FAIL_ON_ZOMBIE="no" # Set to "yes" if start-stop-daemon should attempt to kill # any children left in the system. # Be careful with this as it really does what it was on the tin. # fex, if you're in an ssh process and you restart a service on which ssh # depends then your terminal will be killed also. RC_KILL_CHILDREN="no" # Set the amount of seconds start-stop-daemon waits after starting # the daemon to check it is still running. If it's not then we # try and stop any children if possible. RC_WAIT_ON_START="0.1" ############################################################################## # SERVICE CONFIGURATION VARIABLES # These variables are documented here, but should be configured in # /etc/conf.d/foo for service foo and NOT enabled here unless you # really want them to work on a global basis. # Some daemons are started and stopped via start-stop-daemon. # We can launch them through other daemons here, for example valgrind. # This is only useful for serious debugging of the daemon # WARNING: If the script's "stop" function does not supply a PID file then # all processes using the same daemon will be killed. #RC_DAEMON="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng" # strace needs to be prefixed with --background as it does not detach when # it's following #RC_DAEMON="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng" # Pass ulimit parameters #RC_ULIMIT="-u 30" ############################################################################## # # Internal configuration variables # # NB: These are for advanced users, and you should really # know what you are doing before changing them! # # rc-scripts dep-cache directory # # NOTE: Do not remove the next line, as its needed by the baselayout ebuild! # # svcdir="/var/lib/init.d" svcdir="/var/lib/init.d"