/[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 3 - (hide annotations) (download)
Sat Sep 3 16:10:27 2005 UTC (13 years, 2 months ago) by hollow
File size: 6159 byte(s)
import initial baselayout sources (1.12.0_pre8)
1 hollow 3 # /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=11
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     # RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
14     # The following values are allowed:
15     # none - The 'net' service is always considered up.
16     # no - This basically means that at least one net.* service besides net.lo
17     # must be up. This can be used by notebook users that have a wifi and
18     # a static nic, and only wants one up at any given time to have the
19     # 'net' service seen as up.
20     # lo - This is the same as the 'no' option, but net.lo is also counted.
21     # This should be useful to people that do not care about any specific
22     # interface being up at boot.
23     # yes - For this ALL network interfaces MUST be up for the 'net' service to
24     # be considered up.
25    
26     RC_NET_STRICT_CHECKING="no"
27    
28     # RC_AUTO_INTERFACE allows us to try and configure your interfaces
29     # automatically. This includes:
30     # - link /etc/{resolv,ntp,yp}.conf to /var/lib/net-scripts
31     # - calculate a metric based on what interfaces are up and type
32     # - apply interface state (resolv.conf, ntp.conf, etc)
33     # - merge resolv.conf and ntp.conf from active interfaces based on metric
34     # otherwise we don't do the above
35    
36     RC_AUTO_INTERFACE="no"
37    
38     # RC_VOLUME_ORDER allows you to specify, or even remove the volume setup
39     # for various volume managers (MD, EVMS2, LVM, DM, etc). Note that they are
40     # stopped in reverse order.
41    
42     RC_VOLUME_ORDER="raid evms lvm dm"
43    
44     # RC_BOOTLOG will generate a log of the boot messages shown on the console.
45     # Useful for headless machines or debugging. You need to emerge the
46     # app-admin/showconsole package for this to work.
47    
48     RC_BOOTLOG="no"
49    
50     # RC_USE_FSTAB allows you to override the default mount options for the
51     # standard /proc, /sys, /dev, and /dev/pts mount points. Note that this
52     # is the new way for selecting ramfs/tmpfs/etc... for udev mounting.
53    
54     RC_USE_FSTAB="no"
55    
56     # RC_USE_CONFIG_PROFILE allows you to have different /etc/conf.d files
57     # based on your runlevel - if a conf.d file for your profile does not exist
58     # then we try and use the default one.
59     # To enable runlevel selection at boot, append "softlevel=foobar" to your
60     # kernel line to change to the foobar runlevel. Here we would search for
61     # /etc/conf.d/<service>.foobar config files before trying to use the default
62     # /etc/conf.d/<service>.
63     # Note that it is only active if 'softlevel' was specified via the kernel line,
64     # and it is intended to use for different grub/lilo entries to specify config
65     # changes for say laptops between home and work, where you would have setup
66     # 'work' and 'home' runlevels, with /etc/conf.d/*.<runlevel> as needed.
67    
68     RC_USE_CONFIG_PROFILE="yes"
69    
70     # RC_FORCE_AUTO tries its best to prevent user interaction during the boot and
71     # shutdown process. For example, fsck will automatically be run or volumes
72     # remounted to create proper directory trees. This feature can be dangerous
73     # and is meant ONLY for headless machines where getting a physical console
74     # hooked up is a huge pita.
75    
76     RC_FORCE_AUTO="no"
77    
78     # Use this variable to control the /dev management behavior.
79     # auto - let the scripts figure out what's best at boot
80     # devfs - use devfs (requires sys-fs/devfsd)
81     # udev - use udev (requires sys-fs/udev)
82     # static - let the user manage /dev
83    
84     RC_DEVICES="auto"
85    
86     # UDEV OPTION:
87     # Set to "yes" if you want to save /dev to a tarball on shutdown
88     # and restore it on startup. This is useful if you have a lot of
89     # custom device nodes that udev does not handle/know about.
90    
91     RC_DEVICE_TARBALL="no"
92    
93    
94    
95     #
96     # Controlling start-stop-daemon behavior
97    
98     # Set to "yes" if stop_daemon() should always retry killing the
99     # service with sig KILL if it fails the first time.
100    
101     RC_RETRY_KILL="yes"
102    
103    
104     # Set the amount of seconds stop_daemon() should wait between
105     # retries.
106    
107     RC_RETRY_TIMEOUT=1
108    
109    
110     # Set the amount of times stop_daemon() should try to kill
111     # a service before giving up.
112    
113     RC_RETRY_COUNT=5
114    
115    
116     # Set to "yes" if stop_daemon() should fail if the service
117     # is marked as started, but not actually running on stop.
118    
119     RC_FAIL_ON_ZOMBIE="no"
120    
121    
122     # Set to "yes" if stop_daemon() should attempt to kill
123     # any children left in the system. This does not affect sshd.
124    
125     RC_KILL_CHILDREN="yes"
126    
127    
128     # Set the amount of seconds start_daemon() waits after starting
129     # the daemon to check it is still running. If it's not then we
130     # try and stop any children if possible.
131     RC_WAIT_ON_START="0.1"
132    
133    
134     # Some daemons are started and stopped via start_stop_daemon.
135     # We can change launch them through other daemons here, for example valgrind.
136     # This is only useful for serious debugging of the daemon
137     # Note non alphanumeric chars in the script name need to be changed to _
138     # This is shown in the below example.
139     # WARNING: If the script's "stop" function does not supply a PID file then
140     # all processes using the same daemon will be killed.
141     #RC_DAEMON_syslog_ng="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng"
142    
143     # strace needs to be prefixed with --background as it does not detach when
144     # it's following
145     #RC_DAEMON_syslog_ng="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng"
146    
147     #
148     # Internal configuration variables
149     #
150     # NB: These are for advanced users, and you should really
151     # know what you are doing before changing them!
152     #
153    
154    
155     # rc-scripts dep-cache directory
156     #
157     # NOTE: Do not remove the next line, as its needed by the baselayout ebuild!
158     #
159     # svcdir="/var/lib/init.d"
160    
161     svcdir="/var/lib/init.d"
162    
163    
164     # Should we mount $svcdir in a ram disk for some speed increase
165     # for slower machines, or for the more extreme setups ?
166    
167     svcmount="no"
168    
169    
170     # FS type that should be used for $svcdir. Note that you need
171     # $svcmount above set to "yes" for this to work ... Currently
172     # tmpfs, ramfs, and ramdisk are supported (tmpfs is the default).
173    
174     svcfstype="tmpfs"
175    
176    
177     # Size of $svcdir in KB. Note that ramfs doesn't support this
178     # due to kernel limitations.
179    
180     svcsize=2048

  ViewVC Help
Powered by ViewVC 1.1.20