perkeep/server/go/blobserver/run.sh

12 lines
231 B
Bash
Executable File

#!/bin/sh
Bin=$(dirname $( readlink -f $0))
ROOT=/tmp/camliroot
if [ ! -d $ROOT ]; then
mkdir $ROOT
fi
export CAMLI_PASSWORD=foo
$Bin/../../../build.pl server/go/blobserver && $Bin/camlistored -root=$ROOT -listen=:3179 "$@"