version 1.11, 2005/05/18 02:22:47 |
version 1.14, 2006/05/15 19:47:04 |
|
|
#!/bin/sh |
#!/bin/sh |
#$Id$ |
#$RedRiver: runbt.sh,v 1.13 2005/06/01 18:20:26 andrew Exp $ |
|
|
. /etc/OpenBSDTorrents.conf |
. /etc/OpenBSDTorrents.conf |
LOGFILE=/home/torrentseeder/runbt.log |
LOGFILE=/home/torrentseeder/runbt.log |
|
|
|
|
nice btlaunchmany \ |
nice btlaunchmany \ |
--check_hashes 0 \ |
--check_hashes 0 \ |
--display_interval 60 \ |
--display_interval 600 \ |
--minport 6881 --maxport 6989 \ |
--minport 6881 --maxport 6989 \ |
--max_files_open 75 \ |
--max_files_open 75 \ |
--saveas_style 2 \ |
--saveas_style 2 \ |
--save_in ${OBT_DIR_FTP} \ |
--save_in ${OBT_DIR_FTP} \ |
--torrent_dir /home/torrentsync/torrents/ >> ${LOGFILE} |
--torrent_dir ${OBT_DIR_CUR_TORRENT} >> ${LOGFILE} |
|
|
echo -n `date` >> ${LOGFILE} |
echo -n `date` >> ${LOGFILE} |
echo ' Died . . . ' >> ${LOGFILE} |
echo ' Died . . . ' >> ${LOGFILE} |