ControlScripts/next-share: update start scripts
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tue, 21 Sep 2010 07:59:56 +0000 (09:59 +0200)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tue, 21 Sep 2010 07:59:56 +0000 (09:59 +0200)
Use --peer-logging and --no-hash-ckeck options for starting next-share
seeder and leecher start scripts.

ControlScripts/clients/next-share/start_nextshare_leecher.sh
ControlScripts/clients/next-share/start_nextshare_seeder.sh

index bf44d33..ac21fd9 100755 (executable)
@@ -37,6 +37,6 @@ cd $NEXTSHARE_ABS_PATH
 
 export PYTHONPATH=$PYTHONPATH:.
 
-python2.5 BaseLib/Tools/cmdlinedl.py --output-dir $WORKING_FOLDER_REL_PATH/Regular/ $WORKING_FOLDER_REL_PATH/TorrentsAndData/$TORRENT_FILE
+python2.5 BaseLib/Tools/cmdlinedl.py --peer-logging --output-dir $WORKING_FOLDER_REL_PATH/Regular/ $WORKING_FOLDER_REL_PATH/TorrentsAndData/$TORRENT_FILE
 
 rm -rf $WORKING_FOLDER_REL_PATH/Regular/*
index 592338f..e10b7f7 100755 (executable)
@@ -36,8 +36,6 @@ cd $NEXTSHARE_ABS_PATH
 
 export PYTHONPATH=$PYTHONPATH:.
 
-set -x
-python2.5 BaseLib/Tools/cmdlinedl.py --output-dir $WORKING_FOLDER_REL_PATH/TorrentsAndData/ $WORKING_FOLDER_REL_PATH/TorrentsAndData/$TORRENT_FILE
-set +x
+python2.5 BaseLib/Tools/cmdlinedl.py --no-hash-check --peer-logging --output-dir $WORKING_FOLDER_REL_PATH/TorrentsAndData/ $WORKING_FOLDER_REL_PATH/TorrentsAndData/$TORRENT_FILE
 
 rm -rf $WORKING_FOLDER_REL_PATH/Seeder/*