928fceee75f071540a4d9e742b5547943badc4ed
[bluesky.git] / microbench / setup / run-proxy
1 #!/bin/bash
2 #
3 # Start up the NFS server.
4
5 # Defaults
6 . /scratch/aws-keys
7 export BLUESKY_CACHE_SIZE=$((512 * 1024))
8 export BLUESKY_TARGET=s3
9
10 # Export any environment variables specified on the command line
11 for e in "$@"; do
12     echo "$e" 1>&2
13     if echo "$e" | grep = >/dev/null; then
14         eval "$e"
15         export ${e%=*}
16     fi
17 done
18
19 mkdir /export/journal 2>/dev/null
20 (cd /export; /scratch/bluesky.git/nfs3/nfsproxy)