projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f1a450
)
configurable seeder address
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 27 Aug 2011 00:26:33 +0000
(
00:26
+0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 27 Aug 2011 00:26:33 +0000
(
00:26
+0000)
torrent/start-seeder.sh
patch
|
blob
|
history
diff --git
a/torrent/start-seeder.sh
b/torrent/start-seeder.sh
index
3bdf6bb
..
5585149
100755
(executable)
--- a/
torrent/start-seeder.sh
+++ b/
torrent/start-seeder.sh
@@
-1,5
+1,8
@@
#!/bin/sh -xe
+ip=$1
+test -z "$ip" && ip=10.60.0.240
+
rtorrent -O directory=./send/ \
-O schedule=watch_directory,5,5,load_start=./send/watch/*.torrent \
-O schedule=tied_directory,5,5,start_tied= \
@@
-7,6
+10,6
@@
rtorrent -O directory=./send/ \
-O scgi_local=/tmp/rtorrent.socket \
-O download_rate=15 \
-O upload_rate=15 \
--O bind=
10.60.0.240
\
+-O bind=
$ip
\
-O peer_exchange=yes \