=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/runbt.sh,v retrieving revision 1.3 retrieving revision 1.7 diff -u -r1.3 -r1.7 --- openbsd/OpenBSDTorrents/runbt.sh 2005/03/24 22:38:12 1.3 +++ openbsd/OpenBSDTorrents/runbt.sh 2005/03/28 23:52:33 1.7 @@ -1,10 +1,18 @@ #!/bin/sh -#$Id: runbt.sh,v 1.3 2005/03/24 22:38:12 andrew Exp $ +#$Id: runbt.sh,v 1.7 2005/03/28 23:52:33 andrew Exp $ +LOGFILE=runbt.log + +echo -n `date` >> ${LOGFILE} +echo ' Starting . . . ' >> ${LOGFILE} + btlaunchmany.py \ --super_seeder 1 \ --minport 10000 --maxport 10500 \ --saveas /home/ftp/pub/ --saveas_style 2 \ - /home/andrew/torrents/ + /home/torrentsync/torrents/ > /dev/null -/home/andrew/OpenBSDTorrents/runbt.sh +echo -n `date` >> ${LOGFILE} +echo ' Died . . . ' >> ${LOGFILE} + +/home/OpenBSDTorrents/OpenBSDTorrents/runbt.sh &