source: repoman/bin/torrent-tracker @ 813f617

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 813f617 was 810f6319, checked in by adv <adv@…>, 14 years ago

trorrent-tracket permisos ejecucion

git-svn-id: https://opengnsys.es/svn/branches/version1.0@1493 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[8fc9552]1#!/bin/bash
2BTTRACK=/usr/bin/bttrack.bittorrent
3BTSEEDER=/usr/bin/btlaunchmany.bittornado
4BTTRACKPORT=6969
5BTTRACKDFILE=/tmp/dstate
6BTTRACKLOG=/opt/opengnsys/log/bttrack.log
7BTINTERVAL=10
8BTTORRENTSDIR=/opt/opengnsys/images
9BTALLOW_GET=1
10#BTTRACK_OPTIONS=" --port $BTTRACKPORT --dfile $BTTRACKDFILE --reannounce_interval $BTINTERVAL --logfile $BTTRACKLOG --allowed_dir $BTTORRENTSDIR --allow_get $BTALLOW_GET --parse_allowed_interval 1"
11# nuevos parametros basados en EAC 05-04-2009 antonio doblas viso.
12BTTRACK_OPTIONS=" --save_dfile_interval $BTINTERVAL --timeout_downloaders_interval $BTINTERVAL --port $BTTRACKPORT --dfile $BTTRACKDFILE --reannounce_interval $BTINTERVAL --logfile $BTTRACKLOG --allowed_dir $BTTORRENTSDIR --allow_get $BTALLOW_GET "
13BTTRACKPID="/var/run/bttrack.pid"
14BTSEEDERPID="/var/run/btseeder.pid"
15
[810f6319]16###################  #######################################
[8fc9552]17
18pkill bttrack
19rm $BTTRACKDFILE
20sleep 2
21bttrack $BTTRACK_OPTIONS &>> $BTTRACKLOG &
22ps aux | grep bttrack | grep -v grep | awk -F: '{print $3}'
Note: See TracBrowser for help on using the repository browser.