=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/runbt.sh,v retrieving revision 1.4 retrieving revision 1.7 diff -u -r1.4 -r1.7 --- openbsd/OpenBSDTorrents/runbt.sh 2005/03/25 02:30:43 1.4 +++ openbsd/OpenBSDTorrents/runbt.sh 2005/03/28 23:52:33 1.7 @@ -1,10 +1,18 @@ #!/bin/sh -#$Id: runbt.sh,v 1.4 2005/03/25 02:30:43 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 &