Source

riak-old / start-join.sh

Full commit
#!/usr/bin/env bash
# start-join <configfile> <node>
# join an existing riak ring via a node known to be listening on ip:port
if [ $# -lt 2 ]; then
    echo Usage: 1>&2
    echo "    `basename $0` <configfile> Node" 1>&2
    exit 1
fi
. riak-env.sh
./riakctl start-join $1 $2