summaryrefslogtreecommitdiff
blob: 1f38cb43a5034c007368df2c0ece2910d59f98b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# /etc/conf.d/rc: Global config file for the Gentoo RC System

# Set to "yes" if you want the rc system to try and start services
# in parallel for a slight speed improvement.

RC_PARALLEL_STARTUP="no"

#
# Controlling start-stop-daemon behavior

# Set to "yes" if stop_daemon() should always retry killing the
# service with sig KILL if it fails the first time.

RC_RETRY_KILL="yes"


# Set the amount of seconds stop_daemon() should wait between
# retries.

RC_RETRY_TIMEOUT=1


# Set the amount of times stop_daemon() should try to kill
# a service before giving up.

RC_RETRY_COUNT=5


# Set to "yes" if stop_daemon() should fail if the service
# is marked as started, but not actually running on stop.

RC_FAIL_ON_ZOMBIE="no"


# Set to "yes" if stop_daemon() should attempt to kill
# any children left in the system. This does not affect sshd.

RC_KILL_CHILDREN="yes"


# Set the amount of seconds start_daemon() waits after starting
# the daemon to check it is still running. If it's not then we
# try and stop any children if possible.
RC_WAIT_ON_START="0.1"


# Some daemons are started and stopped via start_stop_daemon.
# We can change launch them through other daemons here, for example valgrind.
# This is only useful for serious debugging of the daemon
# Note non alphanumeric chars in the script name need to be changed to _
# This is shown in the below example.
# WARNING: If the script's "stop" function does not supply a PID file then
# all processes using the same daemon will be killed.
#RC_DAEMON_syslog_ng="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng"

# strace needs to be prefixed with --background as it does not detach when
# it's following
#RC_DAEMON_syslog_ng="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng"

#
# Internal configuration variables
#
# NB:  These are for advanced users, and you should really
#      know what you are doing before changing them!
#

 
# rc-scripts dep-cache directory
#
# NOTE:  Do not remove the next line, as its needed by the baselayout ebuild!
#
#  svcdir="/var/lib/init.d"

svcdir="/var/lib/init.d"