From 561515db0b58fb80d6ad9c990378afdd71033795 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 2 Feb 2011 15:10:16 -0800 Subject: [PATCH] Script to run the blobserver on camlistore.org --- website/scripts/run-blobserver | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 website/scripts/run-blobserver diff --git a/website/scripts/run-blobserver b/website/scripts/run-blobserver new file mode 100755 index 000000000..fd2144af6 --- /dev/null +++ b/website/scripts/run-blobserver @@ -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 "$@"