#!/bin/sh

RIAK="/usr/lib64/riak-cs/bin/riak-cs"

if $RIAK "ping" > /dev/null; then
    echo "Node is already running!"
    exit 1
fi
