Browse Source

add worker group config

pull/3/MERGE
dailidong 4 years ago
parent
commit
43f1e8356f
  1. 2
      script/scp-hosts.sh

2
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"

Loading…
Cancel
Save