Source

riak-old / start-fresh.sh

justin 1c37b76 


Kirill Korinskiy cd4dfbf 
Rusty Klophaus 484dab3 




Kirill Korinskiy cd4dfbf 
justin 1c37b76 
Kirill Korinskiy b38614d 
#!/usr/bin/env bash
# start-fresh <configfile>
# create a brand new riak ring, using configfile as app config params

if [ $# -lt 1 ]; then
    echo Usage: 1>&2
    echo "    `basename $0` <configfile>" 1>&2
    exit 1
fi

. riak-env.sh
./riakctl start-fresh $1