Last change
on this file since 1d1e06d was
828277b,
checked in by Ramón M. Gómez <ramongomez@…>, 5 years ago
|
#983: Avoid error messages in some Cron scripts.
|
-
Property mode set to
100755
|
File size:
830 bytes
|
Rev | Line | |
---|
[8fc9552] | 1 | #!/bin/bash |
---|
| 2 | BTTRACK=/usr/bin/bttrack.bittorrent |
---|
| 3 | BTSEEDER=/usr/bin/btlaunchmany.bittornado |
---|
| 4 | BTTRACKPORT=6969 |
---|
| 5 | BTTRACKDFILE=/tmp/dstate |
---|
| 6 | BTTRACKLOG=/opt/opengnsys/log/bttrack.log |
---|
| 7 | BTINTERVAL=10 |
---|
| 8 | BTTORRENTSDIR=/opt/opengnsys/images |
---|
[6baac83] | 9 | # Desactivar descarga de torrents desde clientes no autorizados. |
---|
| 10 | BTALLOW_GET=0 |
---|
| 11 | # parametros basados en EAC 05-04-2009 antonio doblas viso. |
---|
[8fc9552] | 12 | BTTRACK_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 " |
---|
| 13 | BTTRACKPID="/var/run/bttrack.pid" |
---|
| 14 | BTSEEDERPID="/var/run/btseeder.pid" |
---|
| 15 | |
---|
[810f6319] | 16 | ################### ####################################### |
---|
[8fc9552] | 17 | |
---|
| 18 | pkill bttrack |
---|
[828277b] | 19 | rm -f $BTTRACKDFILE |
---|
[8fc9552] | 20 | sleep 2 |
---|
| 21 | bttrack $BTTRACK_OPTIONS &>> $BTTRACKLOG & |
---|
Note: See
TracBrowser
for help on using the repository browser.