blob: 9bd05092deb76525b61786ad50345e4a38b59b8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/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
|