Source

riak-old / start-restart.sh

#!/usr/bin/env bash
# start-restart <configfile>
# assuming we've run a node from here before, start back up
if [ $# -lt 1 ]; then
    echo Usage: 1>&2
    echo "    `basename $0` <configfile>" 1>&2
    exit 1
fi
. riak-env.sh
./riakctl start-join $1