mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Transmission: cleanup of obsolete vars, default values & doc
This commit is contained in:
parent
137fe56737
commit
4496989846
5 changed files with 31 additions and 16 deletions
|
@ -59,7 +59,7 @@ Then edit the file::
|
|||
|
||||
nano /etc/transmission-daemon/settings.json
|
||||
|
||||
Here are some short explanations, as to what those 70+ variables mean: https://github.com/transmission/transmission/wiki/Editing-Configuration-Files
|
||||
Here are some short explanations, as to what those ~68 variables mean: https://github.com/transmission/transmission/wiki/Editing-Configuration-Files
|
||||
|
||||
After saving your changes in 'settings.json' restart Transmission by running::
|
||||
|
||||
|
@ -74,7 +74,7 @@ Please read the lettered instructions (A, B, C, D) in `/etc/iiab/local_vars.yml
|
|||
|
||||
You can also download other torrents using Transmission's web interface, or by typing 'transmission-remote' at the command-line::
|
||||
|
||||
transmission-remote -a <path_to_the.torrent>
|
||||
transmission-remote -n Admin:changeme -a <path_to_the.torrent>
|
||||
|
||||
Known Issues
|
||||
------------
|
||||
|
@ -95,3 +95,14 @@ Re-check that Transmission's settings are correct here: (by following the instru
|
|||
::
|
||||
|
||||
/etc/transmission-daemon/settings.json
|
||||
|
||||
More advanced configuration and status are in directory ``/var/lib/transmission-daemon/info/`` here::
|
||||
|
||||
blocklists/
|
||||
dht.dat
|
||||
resume/
|
||||
settings.json -> /etc/transmission-daemon/settings.json
|
||||
stats.json
|
||||
torrents/
|
||||
|
||||
These are further explained in https://github.com/transmission/transmission/wiki/Configuration-Files (to correspond with the above path, apt package transmission-daemon sets user debian-transmission's home directory to /var/lib/transmission-daemon in /etc/passwd).
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
# Monitor downloads at http://box:9091 or http://box:9091/transmission using Admin/changeme
|
||||
# transmission_http_port: 9091
|
||||
# transmission_url: /transmission/
|
||||
# transmission_whitelist: 127.0.0.1,192.168.*.*,172.18.96.*,10.8.0.*
|
||||
# transmission_whitelist_enabled: false # Use lowercase
|
||||
# transmission_peer_port: 51413
|
||||
|
||||
# Provision Transmission with torrent(s) from http://pantry.learningequality.org/downloads/ka-lite/0.17/content/
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
state: restarted
|
||||
when: transmission_enabled
|
||||
|
||||
- debug:
|
||||
var: transmission_kalite_languages
|
||||
|
||||
- name: Add PAUSED KA Lite torrent(s) to transmission-daemon's queue
|
||||
shell: >
|
||||
/usr/bin/transmission-remote
|
||||
|
|
|
@ -13,34 +13,31 @@
|
|||
"cache-size-mb": 4,
|
||||
"dht-enabled": true,
|
||||
"download-dir": "{{ transmission_download_dir }}",
|
||||
"download-limit": 100,
|
||||
"download-limit-enabled": 0,
|
||||
"download-queue-enabled": true,
|
||||
"download-queue-size": 5,
|
||||
"encryption": 1,
|
||||
"idle-seeding-limit": 30,
|
||||
"idle-seeding-limit-enabled": false,
|
||||
"incomplete-dir": "/var/lib/transmission-daemon/Downloads",
|
||||
"incomplete-dir": "/var/lib/transmission-daemon/downloads",
|
||||
"incomplete-dir-enabled": false,
|
||||
"lpd-enabled": false,
|
||||
"max-peers-global": 200,
|
||||
"message-level": 1,
|
||||
"message-level": 2,
|
||||
"peer-congestion-algorithm": "",
|
||||
"peer-id-ttl-hours": 6,
|
||||
"peer-limit-global": 200,
|
||||
"peer-limit-per-torrent": 50,
|
||||
"peer-limit-global": 240,
|
||||
"peer-limit-per-torrent": 60,
|
||||
"peer-port": {{ transmission_peer_port }},
|
||||
"peer-port-random-high": 65535,
|
||||
"peer-port-random-low": 49152,
|
||||
"peer-port-random-on-start": false,
|
||||
"peer-socket-tos": "default",
|
||||
"pex-enabled": true,
|
||||
"port-forwarding-enabled": false,
|
||||
"port-forwarding-enabled": true,
|
||||
"preallocation": 1,
|
||||
"prefetch-enabled": true,
|
||||
"queue-stalled-enabled": true,
|
||||
"queue-stalled-minutes": 30,
|
||||
"ratio-limit": 2,
|
||||
"ratio-limit": 2.0,
|
||||
"ratio-limit-enabled": false,
|
||||
"rename-partial-files": true,
|
||||
"rpc-authentication-required": true,
|
||||
|
@ -52,8 +49,8 @@
|
|||
"rpc-port": {{ transmission_http_port }},
|
||||
"rpc-url": "{{ transmission_url }}",
|
||||
"rpc-username": "{{ transmission_username }}",
|
||||
"rpc-whitelist": "127.0.0.1,192.168.*.*,172.18.96.*,10.8.0.*",
|
||||
"rpc-whitelist-enabled": false,
|
||||
"rpc-whitelist": "{{ transmission_whitelist }}",
|
||||
"rpc-whitelist-enabled": "{{ transmission_whitelist_enabled }}",
|
||||
"scrape-paused-torrents-enabled": true,
|
||||
"script-torrent-done-enabled": false,
|
||||
"script-torrent-done-filename": "",
|
||||
|
@ -66,8 +63,8 @@
|
|||
"start-added-torrents": true,
|
||||
"trash-original-torrent-files": false,
|
||||
"umask": 18,
|
||||
"upload-limit": 100,
|
||||
"upload-limit-enabled": 0,
|
||||
"upload-slots-per-torrent": 14,
|
||||
"utp-enabled": true
|
||||
"utp-enabled": true,
|
||||
"watch-dir": "",
|
||||
"watch-dir-enabled": false
|
||||
}
|
||||
|
|
|
@ -512,6 +512,8 @@ transmission_group: debian-transmission
|
|||
# Monitor downloads at http://box:9091 or http://box:9091/transmission using Admin/changeme
|
||||
transmission_http_port: 9091
|
||||
transmission_url: /transmission/
|
||||
transmission_whitelist: 127.0.0.1,192.168.*.*,172.18.96.*,10.8.0.*
|
||||
transmission_whitelist_enabled: false # Use lowercase
|
||||
transmission_peer_port: 51413
|
||||
|
||||
# Provision Transmission with torrent(s) from http://pantry.learningequality.org/downloads/ka-lite/0.17/content/
|
||||
|
|
Loading…
Add table
Reference in a new issue