|
|
@ -41,7 +41,7 @@ do |
|
|
|
do |
|
|
|
do |
|
|
|
# if worker in workersGroup |
|
|
|
# if worker in workersGroup |
|
|
|
if [[ "${map[${host}]}" ]] && [[ "${dsDir}" -eq "conf" ]]; then |
|
|
|
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 |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
echo "start to scp $dsDir to $host/$installPath" |
|
|
|
echo "start to scp $dsDir to $host/$installPath" |
|
|
|