#!/bin/bash
set -ex

# This script file starts up a DistKV any-node runner.

if test $# = 1 ; then
    exec distkv -c /etc/distkv.cfg client job -g "$1" run
else
    exec distkv -c /etc/distkv.cfg client job run
fi
