summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/log/scribed-central-conf
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/components/log/scribed-central-conf')
-rwxr-xr-xsca-cpp/trunk/components/log/scribed-central-conf9
1 files changed, 5 insertions, 4 deletions
diff --git a/sca-cpp/trunk/components/log/scribed-central-conf b/sca-cpp/trunk/components/log/scribed-central-conf
index 066dad4add..3c62107da5 100755
--- a/sca-cpp/trunk/components/log/scribed-central-conf
+++ b/sca-cpp/trunk/components/log/scribed-central-conf
@@ -22,9 +22,9 @@ here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $h
mkdir -p $1
root=`echo "import os; print os.path.realpath('$1')" | python`
-port=$2
-if [ "$port" = "" ]; then
- port="1463"
+host=$2
+if [ "$host" = "" ]; then
+ host="*"
fi
mkdir -p $root/scribe/conf
@@ -34,7 +34,8 @@ mkdir -p $root/scribe/logs/central-secondary
cat >$root/scribe/conf/scribe-central.conf <<EOF
# Generated by: scribed-central-conf $*
# Scribe central configuration
-port=$port
+host=$host
+port=1463
max_msg_per_second=2000000
check_interval=3