awips2/edexOsgi/build.edex/opt/activemq/bin/activemq-clustered
Steve Harris c1349f4a6d 13.4.1-4.1 baseline (recovered lost bin directories for 13.4.1-4)
Former-commit-id: 344054d3e9 [formerly 1a6fd7edfd] [formerly 0f76c3cbee [formerly dca18e1b350f5424ec129b6cd0d602ceb86e119b]]
Former-commit-id: 0f76c3cbee
Former-commit-id: 99a7521fd6
2013-05-03 09:20:30 -05:00

15 lines
345 B
Text

#change to the program directory
dir=${0%/*}
if [ "$dir" = "$0" ]; then
dir="."
fi
cd "$dir"
#get the network name
name=`uname -n`
#replace @brokername@ in template with this name
sed s/@brokername@/$name/g ../conf/clustered-template.xml > ../conf/clustered.xml
#start activemq with updated file
./activemq xbean:file:../conf/clustered.xml