druid/examples/bin/coordinator.sh

12 lines
170 B
Bash
Raw Normal View History

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