[BACK]Return to runbt.sh CVS log [TXT][DIR] Up to [local] / openbsd / OpenBSDTorrents

File: [local] / openbsd / OpenBSDTorrents / runbt.sh (download)

Revision 1.6, Mon Mar 28 23:47:21 2005 UTC (19 years, 2 months ago) by andrew
Branch: MAIN
Changes since 1.5: +10 -2 lines

added logging

#!/bin/sh
#$Id: runbt.sh,v 1.6 2005/03/28 23:47:21 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/torrentsync/torrents/ > /dev/null

echo -n `date` >> ${LOGFILE}
echo 	Died . . .  >> ${LOGFILE}

/home/OpenBSDTorrents/OpenBSDTorrents/runbt.sh &