Browse files

added up/download speed limits, peer port and enabling use of the inc…

…omplete_dir. Removed trailing whitespace
  • Loading branch information...
1 parent 63c5fff commit 167b273a04fcdbbc447eac68dc5a75be58bda934 @mattray mattray committed Sep 6, 2011
Showing with 57 additions and 57 deletions.
  1. +57 −57 transmission/templates/default/settings.json.erb
View
114 transmission/templates/default/settings.json.erb
@@ -1,59 +1,59 @@
{
- "alt-speed-down": 50,
- "alt-speed-enabled": false,
- "alt-speed-time-begin": 540,
- "alt-speed-time-day": 127,
- "alt-speed-time-enabled": false,
- "alt-speed-time-end": 1020,
- "alt-speed-up": 50,
- "bind-address-ipv4": "0.0.0.0",
- "bind-address-ipv6": "::",
- "blocklist-enabled": false,
- "dht-enabled": true,
- "download-dir": "<%= node['transmission']['download_dir'] %>",
- "download-limit": 100,
- "download-limit-enabled": 0,
- "encryption": 1,
- "incomplete-dir": "<%= node['transmission']['incomplete_dir'] %>",
- "incomplete-dir-enabled": false,
- "lazy-bitfield-enabled": true,
- "max-peers-global": 200,
- "message-level": 2,
- "open-file-limit": 32,
- "peer-limit-global": 240,
- "peer-limit-per-torrent": 60,
- "peer-port": 51413,
- "peer-port-random-high": 65535,
- "peer-port-random-low": 49152,
- "peer-port-random-on-start": false,
- "peer-socket-tos": 0,
- "pex-enabled": true,
- "port-forwarding-enabled": false,
- "preallocation": 1,
- "proxy": "",
- "proxy-auth-enabled": false,
- "proxy-auth-password": "",
- "proxy-auth-username": "",
- "proxy-enabled": false,
- "proxy-port": 80,
- "proxy-type": 0,
- "ratio-limit": 2.0000,
- "ratio-limit-enabled": false,
- "rename-partial-files": true,
- "rpc-authentication-required": true,
- "rpc-bind-address": "<%= node['transmission']['rpc_bind_address'] %>",
- "rpc-enabled": true,
- "rpc-password": "<%= node['transmission']['rpc_password'] %>",
- "rpc-port": <%= node['transmission']['rpc_port'] %>,
- "rpc-username": "<%= node['transmission']['rpc_username'] %>",
- "rpc-whitelist": "127.0.0.1",
- "rpc-whitelist-enabled": true,
- "speed-limit-down": 100,
- "speed-limit-down-enabled": false,
- "speed-limit-up": 100,
- "speed-limit-up-enabled": false,
- "umask": 18,
- "upload-limit": 100,
- "upload-limit-enabled": 0,
+ "alt-speed-down": 50,
+ "alt-speed-enabled": false,
+ "alt-speed-time-begin": 540,
+ "alt-speed-time-day": 127,
+ "alt-speed-time-enabled": false,
+ "alt-speed-time-end": 1020,
+ "alt-speed-up": 50,
+ "bind-address-ipv4": "0.0.0.0",
+ "bind-address-ipv6": "::",
+ "blocklist-enabled": false,
+ "dht-enabled": true,
+ "download-dir": "<%= node['transmission']['download_dir'] %>",
+ "download-limit": 100,
+ "download-limit-enabled": 0,
+ "encryption": 1,
+ "incomplete-dir": "<%= node['transmission']['incomplete_dir'] %>",
+ "incomplete-dir-enabled": <%= node['transmission']['incomplete_dir_enabled'] %>,
+ "lazy-bitfield-enabled": true,
+ "max-peers-global": 200,
+ "message-level": 2,
+ "open-file-limit": 32,
+ "peer-limit-global": 240,
+ "peer-limit-per-torrent": 60,
+ "peer-port": <%= node['transmission']['peer_port'] %>,
+ "peer-port-random-high": 65535,
+ "peer-port-random-low": 49152,
+ "peer-port-random-on-start": false,
+ "peer-socket-tos": 0,
+ "pex-enabled": true,
+ "port-forwarding-enabled": false,
+ "preallocation": 1,
+ "proxy": "",
+ "proxy-auth-enabled": false,
+ "proxy-auth-password": "",
+ "proxy-auth-username": "",
+ "proxy-enabled": false,
+ "proxy-port": 80,
+ "proxy-type": 0,
+ "ratio-limit": 2.0000,
+ "ratio-limit-enabled": false,
+ "rename-partial-files": true,
+ "rpc-authentication-required": true,
+ "rpc-bind-address": "<%= node['transmission']['rpc_bind_address'] %>",
+ "rpc-enabled": true,
+ "rpc-password": "<%= node['transmission']['rpc_password'] %>",
+ "rpc-port": <%= node['transmission']['rpc_port'] %>,
+ "rpc-username": "<%= node['transmission']['rpc_username'] %>",
+ "rpc-whitelist": "127.0.0.1",
+ "rpc-whitelist-enabled": true,
+ "speed-limit-down": <%= node['transmission']['speed_limit_down'] %>,
+ "speed-limit-down-enabled": <%= node['transmission']['speed_limit_down_enabled'] %>,
+ "speed-limit-up": <%= node['transmission']['speed_limit_up'] %>,
+ "speed-limit-up-enabled": <%= node['transmission']['speed_limit_up_enabled'] %>,
+ "umask": 18,
+ "upload-limit": 100,
+ "upload-limit-enabled": 0,
"upload-slots-per-torrent": 14
-}
+}

0 comments on commit 167b273

Please sign in to comment.