blob: 6afcb527e5a05070d792c7d4fa4e594ed4c49d88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# Stop brokers on ports listed in cluster.ports
PORTS=`cat cluster.ports`
for PORT in $PORTS ; do
../qpidd -qp $PORT || ERROR="$ERROR $PORT"
done
rm -f cluster.ports
if [ -n "$ERROR" ]; then
echo "Errors stopping brokers on ports: $ERROR"
exit 1
fi
|