druid/examples/bin/coordinator.sh

12 lines
170 B
Bash

#!/bin/bash -eu
usage="Usage: coordinator.sh (start|stop|status)"
if [ $# -lt 1 ]; then
echo $usage
exit 1
fi
cd $(dirname $0)/../
sh ./bin/node.sh coordinator $1