druid/examples/bin/overlord.sh

12 lines
164 B
Bash

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