mirror of https://github.com/perkeep/perkeep.git
15 lines
318 B
Bash
Executable File
15 lines
318 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
Bin=$(dirname $( readlink -f $0))
|
|
|
|
ROOT=$HOME/blobroot
|
|
if [ ! -d $ROOT ]; then
|
|
mkdir $ROOT
|
|
fi
|
|
chmod 0700 $ROOT
|
|
|
|
export CAMLI_PASSWORD=`cat $HOME/.camli/camorg-blobserver.pass`
|
|
|
|
$Bin/../../build.pl server/go/blobserver && $Bin/../../server/go/blobserver/camlistored -root=$ROOT -listen=:3179 "$@"
|