| 1 | |
|---|
| 2 | # Configuration |
|---|
| 3 | # NOTE: no spaces around the = sign |
|---|
| 4 | # the config will be sourced (eg. . transmission.conf) |
|---|
| 5 | |
|---|
| 6 | SOURCE=/tmp/harddisk/torrent/source |
|---|
| 7 | WORK=/tmp/harddisk/torrent/work |
|---|
| 8 | TARGET=/tmp/harddisk/torrent/target |
|---|
| 9 | MAILTO=torrent@somedomain.com |
|---|
| 10 | MAILFROM=torrent@somedomain.com |
|---|
| 11 | MAILOPT="-smail.somedomain.com -f" |
|---|
| 12 | USER=admin |
|---|
| 13 | GROUP=root |
|---|
| 14 | DATE_FORMAT="%d %h %H:%M" |
|---|
| 15 | |
|---|
| 16 | # Transmission daemon variables |
|---|
| 17 | PIDFILE=/opt/var/run/transmission.pid |
|---|
| 18 | ACTIVE=/tmp/harddisk/torrent/active-torrents.txt |
|---|
| 19 | HOME=/tmp/harddisk/torrent |
|---|
| 20 | WATCHDOG=300 |
|---|
| 21 | LISTENING_PORT=65534 |
|---|
| 22 | # set SPEED in kB/s or -1 for unlimited |
|---|
| 23 | UPLOAD_SPEED=-1 |
|---|
| 24 | DOWNLOAD_SPEED=-1 |
|---|
| 25 | #UPLOAD_SPEED=41 |
|---|
| 26 | #DOWNLOAD_SPEED=180 |
|---|
| 27 | SYSLOG=/opt/var/log/messages |
|---|
| 28 | |
|---|
| 29 | #time between logs |
|---|
| 30 | LOG_TIME=59 |
|---|
| 31 | |
|---|
| 32 | # Seed torrent after completition (YES or NO) |
|---|
| 33 | AUTOSEED="YES" |
|---|
| 34 | |
|---|
| 35 | # Creating graphical log of transfer with gnuplot |
|---|
| 36 | # can be very site specific issue. See transmission.cgi |
|---|
| 37 | # how this variables are used. |
|---|
| 38 | # Alternative tool for graphing could be |
|---|
| 39 | # http://oss.oetiker.ch/rrdtool |
|---|
| 40 | GNUPLOT=/opt/bin/gnuplot |
|---|
| 41 | GNUPLOT_COMMAND=${WORK}/transfer.gnuplot |
|---|
| 42 | GNUPLOT_DATA=${WORK}/transfer.data |
|---|
| 43 | GNUPLOT_OUTPUT=/opt/share/www/transfer.png |
|---|
| 44 | HTTP_IMG_LOCATION=../transfer.png |
|---|
| 45 | |
|---|
| 46 | #Colors for command line. # comment out if not needed |
|---|
| 47 | GREEN="\033[32;1m" |
|---|
| 48 | #NC="\033[0m" |
|---|
| 49 | #BACK_UP="\033[1K\033[0G" |
|---|
| 50 | NORMAL="\033[0m" |
|---|
| 51 | WARN="\033[33;1m" |
|---|
| 52 | BAD="\033[31;1m" |
|---|
| 53 | BOLD="\033[1m" |
|---|
| 54 | GOOD="\033[32;1m" |
|---|
| 55 | |
|---|