Script to run the blobserver on camlistore.org

This commit is contained in:
Brad Fitzpatrick 2011-02-02 15:10:16 -08:00
parent be012d6a0b
commit 561515db0b
1 changed files with 14 additions and 0 deletions

14
website/scripts/run-blobserver Executable file
View File

@ -0,0 +1,14 @@
#!/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 "$@"