# Uncomment and change lines below if you want to override
# default behavior

# Available recipes:
#  leech-default:
#    just download files to $DOWNLOADS_DIR, doesn't do anything else
#
#  leech-transmission [HOST[:PORT]] [USERNAME:PASSWORD]:
#    don't download file, add URL directly to transmission instead
#    transmission will download file and do all the magic
#    you need transmission-remote installed and web interface enabled
#
#  leech-defmission [HOST[:PORT]] [USERNAME:PASSWORD]:
#    will download file with leech-default (cookies auth supported)
#    then will add downloaded file to transmission
#
#  leech-aria2 [HOST:PORT] [RPC_SECRET]:
#    will pass URL to aria2 through JSON-RPC interface
#
DOWNLOAD_RECIPE="leech-default"
#DOWNLOAD_RECIPE="leech-transmission"
#DOWNLOAD_RECIPE="leech-transmission 127.0.0.1:9091 user:password"
#DOWNLOAD_RECIPE="leech-defmission"
#DOWNLOAD_RECIPE="leech-defmission 127.0.0.1:9091 user:password"
#DOWNLOAD_RECIPE="leech-aria2 127.0.0.1:6800"
#DOWNLOAD_RECIPE="leech-aria2 127.0.0.1:6800 rpc_secret"

# Persistence directory, DOWNLOADS_DIR will be used by default
#PERSISTENCE="$DOWNLOADS_DIR"

# leech won't download files older than that
#EXPIRATION=3 # day(s)

# leech won't download files until they are older than that
#QUIET_PERIOD=0 # hour(s)

# How long to keep downloads history
#HISTORY=14 # day(s)

# Interval between all downloads including feeds
#DOWNLOAD_DELAY=5 # second(s)

# Timeout per download attempt (Foods & Lunch)
#TIMEOUT=30 # second(s)

# Optional target dir, this directory is going to be passed to external
# downloading software to explicitly override downloads dir there. Supported
# in recipes: leech-transmission and leech-aria2, other recipes ignore this
# option and you might ignore this as well if you don't need an override or
# have it configured elsewhere. Also can be set in environment in the same
# way as DOWNLOADS_DIR: `TARGET_DIR="/a/b/c/" /usr/sbin/leech`, but NOT in
# both: this config and environment, in that case config takes priority
#TARGET_DIR=""
