diff options
Diffstat (limited to 'sca-cpp/trunk/components/log/scribed-client-conf')
-rwxr-xr-x | sca-cpp/trunk/components/log/scribed-client-conf | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sca-cpp/trunk/components/log/scribed-client-conf b/sca-cpp/trunk/components/log/scribed-client-conf index 3300e4e5ec..87c8749c2e 100755 --- a/sca-cpp/trunk/components/log/scribed-client-conf +++ b/sca-cpp/trunk/components/log/scribed-client-conf @@ -21,7 +21,12 @@ here=`readlink -f $0`; here=`dirname $here` mkdir -p $1 root=`readlink -f $1` + central=$2 +cport=$3 +if [ "$cport" = "" ]; then + cport="1463" +fi mkdir -p $root/scribe/conf mkdir -p $root/scribe/logs/client-secondary @@ -47,8 +52,8 @@ retry_interval_range=10 <primary> type=network -remote_host=$2 -remote_port=1463 +remote_host=$central +remote_port=$cport </primary> <secondary> |