start rtorrent for seeding
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 27 Aug 2011 00:20:45 +0000 (00:20 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 27 Aug 2011 00:20:45 +0000 (00:20 +0000)
torrent/start-seeder.sh [new file with mode: 0755]

diff --git a/torrent/start-seeder.sh b/torrent/start-seeder.sh
new file mode 100755 (executable)
index 0000000..3bdf6bb
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh -xe
+
+rtorrent -O directory=./send/ \
+-O schedule=watch_directory,5,5,load_start=./send/watch/*.torrent \
+-O schedule=tied_directory,5,5,start_tied= \
+-O schedule=untied_directory,5,5,close_untied= \
+-O scgi_local=/tmp/rtorrent.socket \
+-O download_rate=15 \
+-O upload_rate=15 \
+-O bind=10.60.0.240 \
+-O peer_exchange=yes \
+