=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/runbt.sh,v retrieving revision 1.13 retrieving revision 1.17 diff -u -r1.13 -r1.17 --- openbsd/OpenBSDTorrents/runbt.sh 2005/06/01 19:20:26 1.13 +++ openbsd/OpenBSDTorrents/runbt.sh 2010/03/03 18:24:47 1.17 @@ -1,5 +1,5 @@ #!/bin/sh -#$Id: runbt.sh,v 1.13 2005/06/01 18:20:26 andrew Exp $ +#$RedRiver: runbt.sh,v 1.16 2006/07/24 18:03:53 andrew Exp $ . /etc/OpenBSDTorrents.conf LOGFILE=/home/torrentseeder/runbt.log @@ -11,7 +11,7 @@ PID=`head -1 ${PIDFILE}` kill -0 ${PID} 2> /dev/null if [ $? -eq 0 ]; then - echo Already running + echo $0 Already running exit 1 fi fi @@ -21,11 +21,10 @@ echo -n `date` >> ${LOGFILE} echo ' Starting . . . ' >> ${LOGFILE} -nice btlaunchmany \ - --check_hashes 0 \ +nice launchmany-console \ --display_interval 600 \ - --minport 6881 --maxport 6989 \ - --max_files_open 75 \ + --minport 60881 --maxport 60981 \ + --max_files_open 25 \ --saveas_style 2 \ --save_in ${OBT_DIR_FTP} \ --torrent_dir ${OBT_DIR_CUR_TORRENT} >> ${LOGFILE}