56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
system.daemon.set = true
|
|
|
|
method.insert = cfg.watch, private|const|string, (cat,"watch/")
|
|
|
|
method.insert = d.get_finished_dir,simple,\
|
|
"if=(d.custom1),\
|
|
(cat, /data/downloads/, (d.custom1), /),\
|
|
(cat, /data/downloads/unsorted/)"
|
|
|
|
session.path.set = /var/lib/seedbox/sessions
|
|
session.use_lock.set = no
|
|
|
|
directory.default.set = /data/downloads/unsorted
|
|
|
|
port_range = 6890-6890
|
|
port_random = no
|
|
|
|
dht = on
|
|
dht_port = 6889
|
|
|
|
schedule2 = dht_node, 30, 0, "dht.add_node=router.bittorrent.com:6881"
|
|
schedule2 = dht_node, 30, 0, "dht.add_node=router.utorrent.com:6881"
|
|
schedule2 = dht_node, 30, 0, "dht.add_node=dht.transmissionbt.com:6881"
|
|
schedule2 = dht_node, 30, 0, "dht.add_node=router.bitcomet.com:6881"
|
|
schedule2 = dht_node, 30, 0, "dht.add_node=dht.aelitis.com:6881"
|
|
|
|
check_hash = yes
|
|
|
|
scgi_local = /var/run/seedbox/rpc.socket
|
|
schedule = chmod,0,0,"execute=chmod,777,/var/run/seedbox/rpc.socket"
|
|
|
|
protocol.encryption.set = allow_incoming,try_outgoing,enable_retry
|
|
|
|
network.http.max_open.set = 1000
|
|
network.max_open_files.set = 2048
|
|
network.max_open_sockets.set = 2048
|
|
|
|
pieces.memory.max.set = 512M
|
|
network.xmlrpc.size_limit.set = 25M
|
|
network.http.dns_cache_timeout.set = 25
|
|
|
|
|
|
protocol.encryption.set = allow_incoming,try_outgoing,enable_retry
|
|
|
|
schedule2 = watch_start, 10, 10, ((load.start, (cat, (cfg.watch), "start/*.torrent")))
|
|
schedule2 = watch_load, 11, 10, ((load.normal, (cat, (cfg.watch), "load/*.torrent")))
|
|
|
|
log.open_file = "log", "log/info.log"
|
|
log.open_file = "debug", "log/debug.log"
|
|
log.add_output = "info", "log"
|
|
|
|
log.add_output = "dht_debug", "debug"
|
|
log.add_output = "tracker_debug", "debug"
|
|
|
|
method.set_key = event.download.finished,move_complete,"d.directory.set=$d.get_finished_dir=;execute=mkdir,-p,$d.get_finished_dir=;execute=mv,-u,$d.base_path=,$d.get_finished_dir="
|