/[vps]/baselayout-vserver/trunk/etc/conf.d/rc
Gentoo

Contents of /baselayout-vserver/trunk/etc/conf.d/rc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 365 - (show annotations) (download)
Thu May 25 10:09:00 2006 UTC (12 years, 5 months ago) by phreak
File size: 5409 byte(s)
Merging r2046
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 # Do we allow services to be hotplugged? If not, set to RC_HOTPLUG="no"
14 # NOTE: This does not affect anything hotplug/udev related, just the
15 # starting/stopping of the init.d service triggered by hotplug.
16
17 RC_HOTPLUG="yes"
18
19 # Dynamic /dev managers can trigger coldplug events which cause services to
20 # start before we are ready for them. If this happens, we can defer these
21 # services to start in the boot runlevel. Set RC_COLDPLUG="no" if you don't
22 # want this.
23 # NOTE: This does not affect anything coldplug/udev related, just the
24 # starting/stopping of the init.d service triggered by coldplug.
25
26 RC_COLDPLUG="yes"
27
28 # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a
29 # list of services that are matched in order, either allowing or not. By
30 # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes
31 # anyway.
32 # Example - RC_PLUG_SERVICES="net.wlan !net.*"
33 # This allows net.wlan and any service not matching net.* to be plugged.
34
35 RC_PLUG_SERVICES=""
36
37 # RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
38 # The following values are allowed:
39 # none - The 'net' service is always considered up.
40 # no - This basically means that at least one net.* service besides net.lo
41 # must be up. This can be used by notebook users that have a wifi and
42 # a static nic, and only wants one up at any given time to have the
43 # 'net' service seen as up.
44 # lo - This is the same as the 'no' option, but net.lo is also counted.
45 # This should be useful to people that do not care about any specific
46 # interface being up at boot.
47 # yes - For this ALL network interfaces MUST be up for the 'net' service to
48 # be considered up.
49
50 RC_NET_STRICT_CHECKING="none"
51
52 # RC_AUTO_INTERFACE allows us to try and configure your interfaces
53 # automatically. This includes:
54 # - link /etc/{resolv,ntp,yp}.conf to /var/lib/net-scripts
55 # - calculate a metric based on what interfaces are up and type
56 # - apply interface state (resolv.conf, ntp.conf, etc)
57 # - merge resolv.conf and ntp.conf from active interfaces based on metric
58 # otherwise we don't do the above
59
60 RC_AUTO_INTERFACE="no"
61
62 # RC_DOWN_INTERFACE allows you to specify if RC will bring the interface
63 # compeletly down when it stops. The default is yes, but there are some
64 # instances where you may not want this to happen such as using Wake On LAN.
65
66 RC_DOWN_INTERFACE="yes"
67
68 # RC_VERBOSE will make init scripts more verbose. Only networking scripts
69 # really use this at this time, and this is useful for trouble shooting
70 # any issues you may have.
71
72 RC_VERBOSE="no"
73
74 # RC_INITSTYLE_HACK allows it to use the old (obsoleted) init style of
75 # util-vserver
76
77 RC_INITSTYLE_HACK="no"
78
79 #
80 # Controlling start-stop-daemon behavior
81
82 # Set to "yes" if start-stop-daemon should always retry killing the
83 # service with sig KILL if it fails the first time.
84
85 RC_RETRY_KILL="yes"
86
87
88 # Set the amount of seconds start-stop-daemon should wait between
89 # retries.
90
91 RC_RETRY_TIMEOUT=1
92
93
94 # Set the amount of times start-stop-daemon should try to kill
95 # a service before giving up.
96
97 RC_RETRY_COUNT=5
98
99
100 # Set to "yes" if start-stop-daemon should fail if the service
101 # is marked as started, but not actually running on stop.
102
103 RC_FAIL_ON_ZOMBIE="no"
104
105
106 # Set to "yes" if start-stop-daemon should attempt to kill
107 # any children left in the system.
108 # Be careful with this as it really does what it was on the tin.
109 # fex, if you're in an ssh process and you restart a service on which ssh
110 # depends then your terminal will be killed also.
111
112 RC_KILL_CHILDREN="no"
113
114
115 # Set the amount of seconds start-stop-daemon waits after starting
116 # the daemon to check it is still running. If it's not then we
117 # try and stop any children if possible.
118 RC_WAIT_ON_START="0.1"
119
120
121 ##############################################################################
122 # SERVICE CONFIGURATION VARIABLES
123 # These variables are documented here, but should be configured in
124 # /etc/conf.d/foo for service foo and NOT enabled here unless you
125 # really want them to work on a global basis.
126
127 # Some daemons are started and stopped via start-stop-daemon.
128 # We can launch them through other daemons here, for example valgrind.
129 # This is only useful for serious debugging of the daemon
130 # WARNING: If the script's "stop" function does not supply a PID file then
131 # all processes using the same daemon will be killed.
132 #RC_DAEMON="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng"
133
134 # strace needs to be prefixed with --background as it does not detach when
135 # it's following
136 #RC_DAEMON="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng"
137
138 # Pass ulimit parameters
139 #RC_ULIMIT="-u 30"
140
141 ##############################################################################
142
143
144 #
145 # Internal configuration variables
146 #
147 # NB: These are for advanced users, and you should really
148 # know what you are doing before changing them!
149 #
150
151 # rc-scripts dep-cache directory
152 #
153 # NOTE: Do not remove the next line, as its needed by the baselayout ebuild!
154 #
155 # svcdir="/var/lib/init.d"
156
157 svcdir="/var/lib/init.d"

  ViewVC Help
Powered by ViewVC 1.1.20