/[vps]/baselayout-vserver/branches/baselayout-1_12/etc/conf.d/rc
Gentoo

Contents of /baselayout-vserver/branches/baselayout-1_12/etc/conf.d/rc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 436 - (show annotations) (download)
Sun Aug 27 18:14:39 2006 UTC (12 years ago) by phreak
File size: 7150 byte(s)
Merging r2213
1 # /etc/conf.d/rc: Global config file for the Gentoo RC System
2
3 # Set to "yes" if you want the rc system to try and start services
4 # in parallel for a slight speed improvement. NOTE: When RC_PARALLEL_STARTUP
5 # is enabled, init script output is replaced with simple "service foo
6 # starting/stopping" messages so that output is not mixed up.
7 # You can stop this from happening on the command line by passing --verbose
8 # to the init script or by setting RC_VERBOSE="yes" below.
9
10 RC_PARALLEL_STARTUP="no"
11
12 # Set RC_INTERACTIVE to "yes" and you'll be able to press the I key during
13 # boot so you can choose to start specific services. Set to "no" to disable
14 # this feature.
15
16 RC_INTERACTIVE="yes"
17
18 # Do we allow services to be hotplugged? If not, set to RC_HOTPLUG="no"
19 # NOTE: This does not affect anything hotplug/udev related, just the
20 # starting/stopping of the init.d service triggered by hotplug.
21
22 RC_HOTPLUG="yes"
23
24 # Dynamic /dev managers can trigger coldplug events which cause services to
25 # start before we are ready for them. If this happens, we can defer these
26 # services to start in the boot runlevel. Set RC_COLDPLUG="no" if you don't
27 # want this.
28 # NOTE: This also affects module coldplugging in udev-096 and higher
29 # If you want module coldplugging but not coldplugging of services then you
30 # can set RC_COLDPLUG="yes" and RC_PLUG_SERVICES="!*"
31
32 RC_COLDPLUG="yes"
33
34 # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a
35 # list of services that are matched in order, either allowing or not. By
36 # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes
37 # anyway.
38 # Example - RC_PLUG_SERVICES="net.wlan !net.*"
39 # This allows net.wlan and any service not matching net.* to be plugged.
40
41 RC_PLUG_SERVICES=""
42
43 # RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
44 # The following values are allowed:
45 # none - The 'net' service is always considered up.
46 # no - This basically means that at least one net.* service besides net.lo
47 # must be up. This can be used by notebook users that have a wifi and
48 # a static nic, and only wants one up at any given time to have the
49 # 'net' service seen as up.
50 # lo - This is the same as the 'no' option, but net.lo is also counted.
51 # This should be useful to people that do not care about any specific
52 # interface being up at boot.
53 # yes - For this ALL network interfaces MUST be up for the 'net' service to
54 # be considered up.
55
56 RC_NET_STRICT_CHECKING="none"
57
58 # RC_VERBOSE will make init scripts more verbose. Only networking scripts
59 # really use this at this time, and this is useful for trouble shooting
60 # any issues you may have.
61 # This is also used to re-enable init script output for init scripts
62 # started or stopped from the command line.
63
64 RC_VERBOSE="no"
65
66 # RC_BOOTLOG will generate a log of the boot messages shown on the console.
67 # Useful for headless machines or debugging. You need to emerge the
68 # app-admin/showconsole package for this to work. Note that this probably
69 # won't work correctly with boot splash.
70
71 RC_BOOTLOG="no"
72
73 # Set to "yes" if you want to benchmark system boot with bootchart.
74 # You'll need to emerge the app-benchmarks/bootchart package for this to work.
75
76 RC_BOOTCHART="no"
77
78 # RC_USE_FSTAB allows you to override the default mount options for the
79 # standard /proc, /sys, /dev, and /dev/pts mount points. Note that this
80 # is the new way for selecting ramfs/tmpfs/etc... for udev mounting.
81
82 RC_USE_FSTAB="no"
83
84 # RC_USE_CONFIG_PROFILE allows you to have different /etc/conf.d files
85 # based on your runlevel - if a conf.d file for your profile does not exist
86 # then we try and use the default one.
87 # To enable runlevel selection at boot, append "softlevel=foobar" to your
88 # kernel line to change to the foobar runlevel. Here we would search for
89 # /etc/conf.d/<service>.foobar config files before trying to use the default
90 # /etc/conf.d/<service>.
91 # Note that it is only active if 'softlevel' was specified via the kernel line,
92 # and it is intended to use for different grub/lilo entries to specify config
93 # changes for say laptops between home and work, where you would have setup
94 # 'work' and 'home' runlevels, with /etc/conf.d/*.<runlevel> as needed.
95
96 RC_USE_CONFIG_PROFILE="yes"
97
98 # RC_FORCE_AUTO tries its best to prevent user interaction during the boot and
99 # shutdown process. For example, fsck will automatically be run or volumes
100 # remounted to create proper directory trees. This feature can be dangerous
101 # and is meant ONLY for headless machines where getting a physical console
102 # hooked up is a huge pita.
103
104 RC_FORCE_AUTO="no"
105
106
107 # RC_DMESG_LEVEL sets the level at which logging of messages is done to the
108 # console. See dmesg(8) for more info.
109
110 RC_DMESG_LOGLEVEL="1"
111
112
113
114
115
116 #
117 # Controlling start-stop-daemon behavior
118
119 # Set to "yes" if start-stop-daemon should always retry killing the
120 # service with sig KILL if it fails the first time.
121
122 RC_RETRY_KILL="yes"
123
124
125 # Set the amount of seconds start-stop-daemon should wait between
126 # retries.
127
128 RC_RETRY_TIMEOUT=1
129
130
131 # Set the amount of times start-stop-daemon should try to kill
132 # a service before giving up.
133
134 RC_RETRY_COUNT=5
135
136
137 # Set to "yes" if start-stop-daemon should fail if the service
138 # is marked as started, but not actually running on stop.
139
140 RC_FAIL_ON_ZOMBIE="no"
141
142
143 # Set to "yes" if start-stop-daemon should attempt to kill
144 # any children left in the system.
145 # Be careful with this as it really does what it was on the tin.
146 # fex, if you're in an ssh process and you restart a service on which ssh
147 # depends then your terminal will be killed also.
148
149 RC_KILL_CHILDREN="no"
150
151
152 # Set the amount of seconds start-stop-daemon waits after starting
153 # the daemon to check it is still running. If it's not then we
154 # try and stop any children if possible.
155 RC_WAIT_ON_START="0.1"
156
157
158 ##############################################################################
159 # SERVICE CONFIGURATION VARIABLES
160 # These variables are documented here, but should be configured in
161 # /etc/conf.d/foo for service foo and NOT enabled here unless you
162 # really want them to work on a global basis.
163
164 # Some daemons are started and stopped via start-stop-daemon.
165 # We can launch them through other daemons here, for example valgrind.
166 # This is only useful for serious debugging of the daemon
167 # WARNING: If the script's "stop" function does not supply a PID file then
168 # all processes using the same daemon will be killed.
169 #RC_DAEMON="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng"
170
171 # strace needs to be prefixed with --background as it does not detach when
172 # it's following
173 #RC_DAEMON="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng"
174
175 # Pass ulimit parameters
176 #RC_ULIMIT="-u 30"
177
178 ##############################################################################
179
180
181 #
182 # Internal configuration variables
183 #
184 # NB: These are for advanced users, and you should really
185 # know what you are doing before changing them!
186 #
187
188 # rc-scripts dep-cache directory
189 #
190 # NOTE: Do not remove the next line, as its needed by the baselayout ebuild!
191 #
192 # svcdir="/var/lib/init.d"
193
194 svcdir="/var/lib/init.d"

  ViewVC Help
Powered by ViewVC 1.1.20