blob: f5db5a44887e0d9bb433dc9c5cdf8c143d35383d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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
if [ -n "$ERROR" ]; then
echo "Errors stopping brokers on ports: $ERROR"
echo $ERROR > cluster.ports
exit 1
else
rm cluster.ports
fi
|