| 1 |
# /etc/conf.d/rc: Global config file for the Gentoo RC System |
| 2 |
|
| 3 |
# This is the number of tty's used in most of the rc-scripts (like |
| 4 |
# consolefont, numlock, etc ...) |
| 5 |
|
| 6 |
RC_TTY_NUMBER=0 |
| 7 |
|
| 8 |
# Set to "yes" if you want the rc system to try and start services |
| 9 |
# in parallel for a slight speed improvement. |
| 10 |
|
| 11 |
RC_PARALLEL_STARTUP="no" |
| 12 |
|
| 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. |
| 16 |
|
| 17 |
RC_INTERACTIVE="yes" |
| 18 |
|
| 19 |
# RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service. |
| 20 |
# The following values are allowed: |
| 21 |
# none - The 'net' service is always considered up. |
| 22 |
# no - This basically means that at least one net.* service besides net.lo |
| 23 |
# must be up. This can be used by notebook users that have a wifi and |
| 24 |
# a static nic, and only wants one up at any given time to have the |
| 25 |
# 'net' service seen as up. |
| 26 |
# lo - This is the same as the 'no' option, but net.lo is also counted. |
| 27 |
# This should be useful to people that do not care about any specific |
| 28 |
# interface being up at boot. |
| 29 |
# yes - For this ALL network interfaces MUST be up for the 'net' service to |
| 30 |
# be considered up. |
| 31 |
|
| 32 |
RC_NET_STRICT_CHECKING="none" |
| 33 |
|
| 34 |
# RC_DOWN_INTERFACE allows you to specify if RC will bring the interface |
| 35 |
# compeletly down when it stops. The default is yes, but there are some |
| 36 |
# instances where you may not want this to happen such as using Wake On LAN. |
| 37 |
|
| 38 |
RC_DOWN_INTERFACE="yes" |
| 39 |
|
| 40 |
# RC_VERBOSE will make init scripts more verbose. Only networking scripts |
| 41 |
# really use this at this time, and this is useful for trouble shooting |
| 42 |
# any issues you may have. |
| 43 |
|
| 44 |
RC_VERBOSE="no" |
| 45 |
|
| 46 |
|
| 47 |
# |
| 48 |
# Controlling start-stop-daemon behavior |
| 49 |
|
| 50 |
# Set to "yes" if start-stop-daemon should always retry killing the |
| 51 |
# service with sig KILL if it fails the first time. |
| 52 |
|
| 53 |
RC_RETRY_KILL="yes" |
| 54 |
|
| 55 |
|
| 56 |
# Set the amount of seconds start-stop-daemon should wait between |
| 57 |
# retries. |
| 58 |
|
| 59 |
RC_RETRY_TIMEOUT=1 |
| 60 |
|
| 61 |
|
| 62 |
# Set the amount of times start-stop-daemon should try to kill |
| 63 |
# a service before giving up. |
| 64 |
|
| 65 |
RC_RETRY_COUNT=5 |
| 66 |
|
| 67 |
|
| 68 |
# Set to "yes" if start-stop-daemon should fail if the service |
| 69 |
# is marked as started, but not actually running on stop. |
| 70 |
|
| 71 |
RC_FAIL_ON_ZOMBIE="no" |
| 72 |
|
| 73 |
|
| 74 |
# Set to "yes" if start-stop-daemon should attempt to kill |
| 75 |
# any children left in the system. |
| 76 |
# Be careful with this as it really does what it was on the tin. |
| 77 |
# fex, if you're in an ssh process and you restart a service on which ssh |
| 78 |
# depends then your terminal will be killed also. |
| 79 |
|
| 80 |
RC_KILL_CHILDREN="no" |
| 81 |
|
| 82 |
|
| 83 |
# Set the amount of seconds start-stop-daemon waits after starting |
| 84 |
# the daemon to check it is still running. If it's not then we |
| 85 |
# try and stop any children if possible. |
| 86 |
RC_WAIT_ON_START="0.1" |
| 87 |
|
| 88 |
|
| 89 |
# Some daemons are started and stopped via start-stop-daemon. |
| 90 |
# We can change launch them through other daemons here, for example valgrind. |
| 91 |
# This is only useful for serious debugging of the daemon |
| 92 |
# Note non alphanumeric chars in the script name need to be changed to _ |
| 93 |
# This is shown in the below example. |
| 94 |
# WARNING: If the script's "stop" function does not supply a PID file then |
| 95 |
# all processes using the same daemon will be killed. |
| 96 |
#RC_DAEMON_syslog_ng="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng" |
| 97 |
|
| 98 |
# strace needs to be prefixed with --background as it does not detach when |
| 99 |
# it's following |
| 100 |
#RC_DAEMON_syslog_ng="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng" |
| 101 |
|
| 102 |
# |
| 103 |
# Internal configuration variables |
| 104 |
# |
| 105 |
# NB: These are for advanced users, and you should really |
| 106 |
# know what you are doing before changing them! |
| 107 |
# |
| 108 |
|
| 109 |
|
| 110 |
# rc-scripts dep-cache directory |
| 111 |
# |
| 112 |
# NOTE: Do not remove the next line, as its needed by the baselayout ebuild! |
| 113 |
# |
| 114 |
# svcdir="/var/lib/init.d" |
| 115 |
|
| 116 |
svcdir="/var/lib/init.d" |