/[baselayout]/trunk/conf.d/rc
Gentoo

Contents of /trunk/conf.d/rc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2652 - (show annotations) (download)
Wed Apr 25 12:30:24 2007 UTC (11 years, 6 months ago) by uberlord
File size: 3941 byte(s)
    We now have an alternative to buffering stdout and stderr.
    RC_PREFIX="yes" will put the service name as a prefix to all output
    made by the service. Thanks to Ciaran McCreesh for the idea.
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.
5 RC_PARALLEL="no"
6
7 # If we're running in parallel then the output of each service is buffered
8 # until the service finishes. This is so the output one service is not mixed
9 # with the output of another service.
10 # To avoid buffering can prefix each line of output to see the service which
11 # it belongs to by setting the RC_PREFIX="yes".
12 RC_PREFIX="no"
13
14 # Set RC_INTERACTIVE to "yes" and you'll be able to press the I key during
15 # boot so you can choose to start specific services. Set to "no" to disable
16 # this feature.
17 RC_INTERACTIVE="yes"
18
19 # RC_VERBOSE will make init scripts more verbose and adds
20 # "Service FOO starting/started/stopping/stopped" messages around each
21 # init script.
22 RC_VERBOSE="no"
23
24 # RC_QUIET on the other hand will make init scripts quiet and produce no
25 # output.
26 RC_QUIET="no"
27
28
29 # Do we allow any started service in the runlevel to satisfy the depedency
30 # or do we want all of them regardless of state? For example, if net.eth0
31 # and net.eth0 are in the default runlevel then with RC_STRICT_DEPEND="no"
32 # both will be started, but services that depend on 'net' will work if either
33 # one comes up. With RC_STRICT_DEPEND="yes" we would require them both to
34 # come up.
35 RC_STRICT_DEPEND="no"
36
37 # Do we allow services to be hotplugged? If not, set to RC_HOTPLUG="no"
38 # NOTE: This does not affect anything hotplug/udev/devd related, just the
39 # starting/stopping of the init.d service triggered by it.
40 RC_HOTPLUG="yes"
41
42 # Dynamic /dev managers can trigger coldplug events which cause services to
43 # start before we are ready for them. If this happens, we can defer these
44 # services to start in the boot runlevel. Set RC_COLDPLUG="no" if you don't
45 # want this.
46 # NOTE: This also affects module coldplugging in udev-096 and higher
47 # If you want module coldplugging but not coldplugging of services then you
48 # can set RC_COLDPLUG="yes" and RC_PLUG_SERVICES="!*"
49 RC_COLDPLUG="yes"
50
51 # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a
52 # list of services that are matched in order, either allowing or not. By
53 # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes
54 # anyway.
55 # Example - RC_PLUG_SERVICES="net.wlan !net.*"
56 # This allows net.wlan and any service not matching net.* to be plugged.
57 RC_PLUG_SERVICES=""
58
59 # Define network fstypes. Below is the default.
60 #RC_NET_FS_LIST="afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs"
61
62 # RC_FORCE_AUTO tries its best to prevent user interaction during the boot and
63 # shutdown process. For example, fsck will automatically be run or volumes
64 # remounted to create proper directory trees. This feature can be dangerous
65 # and is meant ONLY for headless machines where getting a physical console
66 # hooked up is a huge pita.
67 RC_FORCE_AUTO="no"
68
69
70 ##############################################################################
71 # SERVICE CONFIGURATION VARIABLES
72 # These variables are documented here, but should be configured in
73 # /etc/conf.d/foo for service foo and NOT enabled here unless you
74 # really want them to work on a global basis.
75
76 # Some daemons are started and stopped via start-stop-daemon.
77 # We can launch them through other daemons here, for example valgrind.
78 # This is only useful for serious debugging of the daemon
79 # WARNING: If the script's "stop" function does not supply a PID file then
80 # all processes using the same daemon will be killed.
81 #RC_DAEMON="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng"
82
83 # strace needs to be prefixed with --background as it does not detach when
84 # it's following
85 #RC_DAEMON="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng"
86
87 # Pass ulimit parameters
88 #RC_ULIMIT="-u 30"
89
90 # It's possible to define extra dependencies for services like so
91 #RC_NEED="openvpn"
92 #RC_USE="net.eth0"

  ViewVC Help
Powered by ViewVC 1.1.20