druid/examples/bin/middleManager.sh

12 lines
174 B
Bash
Raw Normal View History

2016-05-10 12:00:13 -04:00
#!/bin/bash -eu
usage="Usage: middleManager.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 middleManager $1