diff options
Diffstat (limited to 'sca-cpp/trunk/components/log/scribed-central-firehose-conf')
-rwxr-xr-x | sca-cpp/trunk/components/log/scribed-central-firehose-conf | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sca-cpp/trunk/components/log/scribed-central-firehose-conf b/sca-cpp/trunk/components/log/scribed-central-firehose-conf index 660cf7820a..f76aed58c9 100755 --- a/sca-cpp/trunk/components/log/scribed-central-firehose-conf +++ b/sca-cpp/trunk/components/log/scribed-central-firehose-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 @@ -36,7 +36,8 @@ mkdir -p $root/scribe/logs/firehose-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 |