Add transmission
This commit is contained in:
parent
b419cbab7c
commit
813eafcfbd
@ -35,7 +35,6 @@ location /sonarr/ {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
|
||||
|
||||
location /radarr/ {
|
||||
auth_request /auth-0;
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
@ -67,7 +66,6 @@ location /jackett/ {
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
}
|
||||
|
||||
|
||||
location /plex/ {
|
||||
auth_request /auth-4;
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
@ -115,7 +113,6 @@ location /tautulli/ {
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
|
||||
location /ombi {
|
||||
auth_request /auth-4;
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
|
69
includes/transmission-conf/settings.json
Normal file
69
includes/transmission-conf/settings.json
Normal file
@ -0,0 +1,69 @@
|
||||
{
|
||||
"alt-speed-down": 10000,
|
||||
"alt-speed-enabled": true,
|
||||
"alt-speed-time-begin": 420,
|
||||
"alt-speed-time-day": 127,
|
||||
"alt-speed-time-enabled": true,
|
||||
"alt-speed-time-end": 1260,
|
||||
"alt-speed-up": 5000,
|
||||
"bind-address-ipv4": "0.0.0.0",
|
||||
"bind-address-ipv6": "::",
|
||||
"blocklist-enabled": false,
|
||||
"blocklist-url": "http://www.example.com/blocklist",
|
||||
"cache-size-mb": 200,
|
||||
"dht-enabled": true,
|
||||
"download-dir": "/mnt/downloads/complete",
|
||||
"download-queue-enabled": false,
|
||||
"download-queue-size": 50,
|
||||
"encryption": 1,
|
||||
"idle-seeding-limit": 1,
|
||||
"idle-seeding-limit-enabled": true,
|
||||
"incomplete-dir": "/mnt/downloads/incomplete",
|
||||
"incomplete-dir-enabled": true,
|
||||
"lpd-enabled": false,
|
||||
"message-level": 2,
|
||||
"peer-congestion-algorithm": "",
|
||||
"peer-id-ttl-hours": 6,
|
||||
"peer-limit-global": 1000,
|
||||
"peer-limit-per-torrent": 100,
|
||||
"peer-port": 51413,
|
||||
"peer-port-random-high": 65535,
|
||||
"peer-port-random-low": 49152,
|
||||
"peer-port-random-on-start": false,
|
||||
"peer-socket-tos": "default",
|
||||
"pex-enabled": true,
|
||||
"pidfile": "/var/run/transmission/daemon.pid",
|
||||
"port-forwarding-enabled": false,
|
||||
"preallocation": 0,
|
||||
"prefetch-enabled": true,
|
||||
"queue-stalled-enabled": true,
|
||||
"queue-stalled-minutes": 1,
|
||||
"ratio-limit": 0,
|
||||
"ratio-limit-enabled": true,
|
||||
"rename-partial-files": true,
|
||||
"rpc-authentication-required": false,
|
||||
"rpc-bind-address": "0.0.0.0",
|
||||
"rpc-enabled": true,
|
||||
"rpc-host-whitelist": "",
|
||||
"rpc-host-whitelist-enabled": false,
|
||||
"rpc-password": "{4274e8c504b23f3cd52c7128d4838282019b83bbUtfhD/5d",
|
||||
"rpc-port": 9091,
|
||||
"rpc-url": "/transmission/",
|
||||
"rpc-username": "",
|
||||
"rpc-whitelist": "127.0.0.1",
|
||||
"rpc-whitelist-enabled": false,
|
||||
"scrape-paused-torrents-enabled": true,
|
||||
"script-torrent-done-enabled": false,
|
||||
"script-torrent-done-filename": "",
|
||||
"seed-queue-enabled": false,
|
||||
"seed-queue-size": 10,
|
||||
"speed-limit-down": 100,
|
||||
"speed-limit-down-enabled": false,
|
||||
"speed-limit-up": 100,
|
||||
"speed-limit-up-enabled": false,
|
||||
"start-added-torrents": true,
|
||||
"trash-original-torrent-files": false,
|
||||
"umask": 0,
|
||||
"upload-slots-per-torrent": 14,
|
||||
"utp-enabled": true
|
||||
}
|
@ -3,11 +3,15 @@ iocage create -n "transmission" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vne
|
||||
rm /tmp/pkg.json
|
||||
iocage exec transmission mkdir -p /config
|
||||
iocage exec transmission mkdir -p /mnt/downloads
|
||||
iocage exec transmission mkdir -p /mnt/downloads/complete
|
||||
iocage exec transmission mkdir -p /mnt/downloads/incomplete
|
||||
iocage fstab -a transmission /mnt/tank/apps/transmission /config nullfs rw 0 0
|
||||
iocage fstab -a transmission /mnt/tank/downloads /mnt/downloads nullfs rw 0 0
|
||||
iocage fstab -a transmission /mnt/tank/downloads/complete /mnt/downloads/complete nullfs rw 0 0
|
||||
iocage fstab -a transmission /mnt/tank/downloads/incomplete /mnt/downloads/incomplete nullfs rw 0 0
|
||||
iocage exec transmission mkdir -p /config
|
||||
iocage exec transmission chown -R transmission:transmission /config
|
||||
iocage exec transmission sysrc "transmission_enable=YES"
|
||||
iocage exec transmission sysrc "transmission_conf_dir=/confige"
|
||||
iocage exec transmission sysrc "transmission_conf_dir=/config"
|
||||
iocage exec transmission sysrc "transmission_download_dir=/mnt/downloads/complete"
|
||||
iocage exec transmission service transmission start
|
Loading…
Reference in New Issue
Block a user