| … | |
… | |
| 151 | # the daemon to check it is still running. If it's not then we |
151 | # the daemon to check it is still running. If it's not then we |
| 152 | # try and stop any children if possible. |
152 | # try and stop any children if possible. |
| 153 | RC_WAIT_ON_START="0.1" |
153 | RC_WAIT_ON_START="0.1" |
| 154 | |
154 | |
| 155 | |
155 | |
|
|
156 | ############################################################################## |
|
|
157 | # SERVICE CONFIGURATION VARIABLES |
|
|
158 | # These variables are documented here, but should be configured in |
|
|
159 | # /etc/conf.d/foo for service foo and NOT enabled here unless you |
|
|
160 | # really want them to work on a global basis. |
|
|
161 | |
| 156 | # Some daemons are started and stopped via start-stop-daemon. |
162 | # Some daemons are started and stopped via start-stop-daemon. |
| 157 | # We can change launch them through other daemons here, for example valgrind. |
163 | # We can launch them through other daemons here, for example valgrind. |
| 158 | # This is only useful for serious debugging of the daemon |
164 | # This is only useful for serious debugging of the daemon |
| 159 | # Note non alphanumeric chars in the script name need to be changed to _ |
|
|
| 160 | # This is shown in the below example. |
|
|
| 161 | # WARNING: If the script's "stop" function does not supply a PID file then |
165 | # WARNING: If the script's "stop" function does not supply a PID file then |
| 162 | # all processes using the same daemon will be killed. |
166 | # all processes using the same daemon will be killed. |
| 163 | #RC_DAEMON_syslog_ng="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng" |
167 | #RC_DAEMON="/usr/bin/valgrind --tool=memcheck --log-file=/tmp/valgrind.syslog-ng" |
| 164 | |
168 | |
| 165 | # strace needs to be prefixed with --background as it does not detach when |
169 | # strace needs to be prefixed with --background as it does not detach when |
| 166 | # it's following |
170 | # it's following |
| 167 | #RC_DAEMON_syslog_ng="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng" |
171 | #RC_DAEMON="--background /usr/sbin/strace -f -o /tmp/strace.syslog-ng" |
|
|
172 | |
|
|
173 | # Pass ulimit parameters |
|
|
174 | #RC_ULIMIT="-u 30" |
|
|
175 | |
|
|
176 | ############################################################################## |
|
|
177 | |
| 168 | |
178 | |
| 169 | # |
179 | # |
| 170 | # Internal configuration variables |
180 | # Internal configuration variables |
| 171 | # |
181 | # |
| 172 | # NB: These are for advanced users, and you should really |
182 | # NB: These are for advanced users, and you should really |
| 173 | # know what you are doing before changing them! |
183 | # know what you are doing before changing them! |
| 174 | # |
184 | # |
| 175 | |
|
|
| 176 | |
185 | |
| 177 | # rc-scripts dep-cache directory |
186 | # rc-scripts dep-cache directory |
| 178 | # |
187 | # |
| 179 | # NOTE: Do not remove the next line, as its needed by the baselayout ebuild! |
188 | # NOTE: Do not remove the next line, as its needed by the baselayout ebuild! |
| 180 | # |
189 | # |
| 181 | # svcdir="/var/lib/init.d" |
190 | # svcdir="/var/lib/init.d" |
| 182 | |
191 | |
| 183 | svcdir="/var/lib/init.d" |
192 | svcdir="/var/lib/init.d" |
| 184 | |
193 | |
| 185 | |
|
|
| 186 | # Should we mount $svcdir in a ram disk for some speed increase |
194 | # Should we mount $svcdir in a ram disk for some speed increase |
| 187 | # for slower machines, or for the more extreme setups ? |
195 | # for slower machines, or for the more extreme setups ? |
| 188 | |
196 | |
| 189 | svcmount="no" |
197 | svcmount="no" |
| 190 | |
|
|
| 191 | |
198 | |
| 192 | # FS type that should be used for $svcdir. Note that you need |
199 | # FS type that should be used for $svcdir. Note that you need |
| 193 | # $svcmount above set to "yes" for this to work ... Currently |
200 | # $svcmount above set to "yes" for this to work ... Currently |
| 194 | # tmpfs, ramfs, and ramdisk are supported (tmpfs is the default). |
201 | # tmpfs, ramfs, and ramdisk are supported (tmpfs is the default). |
| 195 | |
202 | |
| 196 | svcfstype="tmpfs" |
203 | svcfstype="tmpfs" |
| 197 | |
204 | |
| 198 | |
|
|
| 199 | # Size of $svcdir in KB. Note that ramfs doesn't support this |
205 | # Size of $svcdir in KB. Note that ramfs doesn't support this |
| 200 | # due to kernel limitations. |
206 | # due to kernel limitations. |
| 201 | |
207 | |
| 202 | svcsize=2048 |
208 | svcsize=2048 |