summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-25 12:30:24 +0000
committerRoy Marples <roy@marples.name>2007-04-25 12:30:24 +0000
commitdfc208bd25288dd09d531f3e0665274bb9cf2998 (patch)
treee3253e1b287969e4abf72441894b53f17bbdc49e /conf.d
parentae32cbdd4b863fbe707981f85c19e04b1faecf6c (diff)
downloadopenrc-dfc208bd25288dd09d531f3e0665274bb9cf2998.tar.gz
openrc-dfc208bd25288dd09d531f3e0665274bb9cf2998.tar.bz2
openrc-dfc208bd25288dd09d531f3e0665274bb9cf2998.tar.xz
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.
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/rc10
1 files changed, 8 insertions, 2 deletions
diff --git a/conf.d/rc b/conf.d/rc
index fb34cbe..8ea03b4 100644
--- a/conf.d/rc
+++ b/conf.d/rc
@@ -1,10 +1,16 @@
# /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. NOTE: When enabled
-# init script output is buffered and displayed in one go when finished.
+# in parallel for a slight speed improvement.
RC_PARALLEL="no"
+# If we're running in parallel then the output of each service is buffered
+# until the service finishes. This is so the output one service is not mixed
+# with the output of another service.
+# To avoid buffering can prefix each line of output to see the service which
+# it belongs to by setting the RC_PREFIX="yes".
+RC_PREFIX="no"
+
# Set RC_INTERACTIVE to "yes" and you'll be able to press the I key during
# boot so you can choose to start specific services. Set to "no" to disable
# this feature.