From 43f1e8356fad45340d20a3cd92192844c65aa6e6 Mon Sep 17 00:00:00 2001 From: dailidong Date: Mon, 11 May 2020 19:38:40 +0800 Subject: [PATCH] add worker group config --- script/scp-hosts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/scp-hosts.sh b/script/scp-hosts.sh index 49c2409a6a..adee7d76c7 100644 --- a/script/scp-hosts.sh +++ b/script/scp-hosts.sh @@ -41,7 +41,7 @@ do do # if worker in workersGroup if [[ "${map[${host}]}" ]] && [[ "${dsDir}" -eq "conf" ]]; then - sed -i ${txt} "s#worker.group.*#worker.group=${map[${host}]}#g" conf/worker.properties + sed -i ${txt} "s#worker.group.*#worker.group=${map[${host}]}#g" $workDir/../conf/worker.properties fi echo "start to scp $dsDir to $host/$installPath"