projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use virtual hosts for specifying S3 buckets
[bluesky.git]
/
microbench
/
setup
/
run-proxy
diff --git
a/microbench/setup/run-proxy
b/microbench/setup/run-proxy
index
928fcee
..
c3013c7
100755
(executable)
--- a/
microbench/setup/run-proxy
+++ b/
microbench/setup/run-proxy
@@
-6,6
+6,7
@@
. /scratch/aws-keys
export BLUESKY_CACHE_SIZE=$((512 * 1024))
export BLUESKY_TARGET=s3
. /scratch/aws-keys
export BLUESKY_CACHE_SIZE=$((512 * 1024))
export BLUESKY_TARGET=s3
+export BLUESKY_PROFILE_OUT=/export2/profile.txt
# Export any environment variables specified on the command line
for e in "$@"; do
# Export any environment variables specified on the command line
for e in "$@"; do
@@
-16,5
+17,9
@@
for e in "$@"; do
fi
done
fi
done
-mkdir /export/journal 2>/dev/null
-(cd /export; /scratch/bluesky.git/nfs3/nfsproxy)
+if [ "$BLUESKY_TARGET" = "native" ]; then
+ /etc/init.d/nfs-kernel-server start
+else
+ mkdir /export/journal 2>/dev/null
+ (cd /export; /scratch/bluesky.git/nfs3/nfsproxy)
+fi