projects
/
swift-upb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add .gitignore
[swift-upb.git]
/
mfold
/
run.default.sh
1
#!/bin/bash
2
# This script runs a leecher at some server;
3
# env variables are set in env.default.sh
4
5
ulimit -c 1024000
6
cd swift || exit 1
7
rm -f core
8
rm -f chunk
9
sleep $(( $RANDOM % 5 ))
10
bin/swift-o2 -w -h $HASH -f chunk -t $SEEDER:$SWFTPORT \
11
-l 0.0.0.0:$RUNPORT -p -D 2>lerr | gzip > lout.gz || exit 2