/[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 10 - (hide annotations) (download)
Sat Sep 3 18:08:46 2005 UTC (12 years, 9 months ago) by phreak
File size: 3334 byte(s)
Removing unneeded entries from etc/conf.d/rc and etc/rc.conf
1 hollow 3 # /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    
6     RC_PARALLEL_STARTUP="no"
7    
8     # RC_USE_CONFIG_PROFILE allows you to have different /etc/conf.d files
9     # based on your runlevel - if a conf.d file for your profile does not exist
10     # then we try and use the default one.
11     # To enable runlevel selection at boot, append "softlevel=foobar" to your
12     # kernel line to change to the foobar runlevel. Here we would search for
13     # /etc/conf.d/<service>.foobar config files before trying to use the default
14     # /etc/conf.d/<service>.
15     # Note that it is only active if 'softlevel' was specified via the kernel line,
16     # and it is intended to use for different grub/lilo entries to specify config
17     # changes for say laptops between home and work, where you would have setup
18     # 'work' and 'home' runlevels, with /etc/conf.d/*.<runlevel> as needed.
19    
20     RC_USE_CONFIG_PROFILE="yes"
21    
22     #
23     # Controlling start-stop-daemon behavior
24    
25     # Set to "yes" if stop_daemon() should always retry killing the
26     # service with sig KILL if it fails the first time.
27    
28     RC_RETRY_KILL="yes"
29    
30    
31     # Set the amount of seconds stop_daemon() should wait between
32     # retries.
33    
34     RC_RETRY_TIMEOUT=1
35    
36    
37     # Set the amount of times stop_daemon() should try to kill
38     # a service before giving up.
39    
40     RC_RETRY_COUNT=5
41    
42    
43     # Set to "yes" if stop_daemon() should fail if the service
44     # is marked as started, but not actually running on stop.
45    
46     RC_FAIL_ON_ZOMBIE="no"
47    
48    
49     # Set to "yes" if stop_daemon() should attempt to kill
50     # any children left in the system. This does not affect sshd.
51    
52     RC_KILL_CHILDREN="yes"
53    
54    
55     # Set the amount of seconds start_daemon() waits after starting
56     # the daemon to check it is still running. If it's not then we
57     # try and stop any children if possible.
58     RC_WAIT_ON_START="0.1"
59    
60    
61     # Some daemons are started and stopped via start_stop_daemon.
62     # We can change launch them through other daemons here, for example valgrind.
63     # This is only useful for serious debugging of the daemon
64     # Note non alphanumeric chars in the script name need to be changed to _
65     # This is shown in the below example.
66     # WARNING: If the script's "stop" function does not supply a PID file then
67     # all processes using the same daemon will be killed.
68     #RC_DAEMON_syslog_ng="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng"
69    
70     # strace needs to be prefixed with --background as it does not detach when
71     # it's following
72     #RC_DAEMON_syslog_ng="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng"
73    
74     #
75     # Internal configuration variables
76     #
77     # NB: These are for advanced users, and you should really
78     # know what you are doing before changing them!
79     #
80    
81    
82     # rc-scripts dep-cache directory
83     #
84     # NOTE: Do not remove the next line, as its needed by the baselayout ebuild!
85     #
86     # svcdir="/var/lib/init.d"
87    
88     svcdir="/var/lib/init.d"
89    
90    
91     # Should we mount $svcdir in a ram disk for some speed increase
92     # for slower machines, or for the more extreme setups ?
93    
94     svcmount="no"
95    
96    
97     # FS type that should be used for $svcdir. Note that you need
98     # $svcmount above set to "yes" for this to work ... Currently
99     # tmpfs, ramfs, and ramdisk are supported (tmpfs is the default).
100    
101     svcfstype="tmpfs"
102    
103    
104     # Size of $svcdir in KB. Note that ramfs doesn't support this
105     # due to kernel limitations.
106    
107     svcsize=2048

  ViewVC Help
Powered by ViewVC 1.1.20