1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00
This commit is contained in:
ericgaspar 2021-11-30 16:21:11 +01:00
parent 32020723ce
commit 2fd9e463bf
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 5 deletions

View file

@ -12,7 +12,7 @@
"blocklist-url": "http://www.example.com/blocklist", "blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4, "cache-size-mb": 4,
"dht-enabled": true, "dht-enabled": true,
"download-dir": "/home/yunohost.app/transmission/completed", "download-dir": "__DATADIR__/completed",
"download-limit": 100, "download-limit": 100,
"download-limit-enabled": 0, "download-limit-enabled": 0,
"download-queue-enabled": true, "download-queue-enabled": true,
@ -20,7 +20,7 @@
"encryption": 1, "encryption": 1,
"idle-seeding-limit": 30, "idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false, "idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/yunohost.app/transmission/progress", "incomplete-dir": "__DATADIR__/progress",
"incomplete-dir-enabled": true, "incomplete-dir-enabled": true,
"lpd-enabled": false, "lpd-enabled": false,
"max-peers-global": 200, "max-peers-global": 200,
@ -70,6 +70,6 @@
"upload-limit-enabled": 0, "upload-limit-enabled": 0,
"upload-slots-per-torrent": 14, "upload-slots-per-torrent": 14,
"utp-enabled": true, "utp-enabled": true,
"watch-dir": "/home/yunohost.app/transmission/watched", "watch-dir": "__DATADIR__/watched",
"watch-dir-enabled": true "watch-dir-enabled": true
} }

View file

@ -20,7 +20,7 @@
"email": "" "email": ""
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.2.4" "yunohost": ">= 4.3.0"
}, },
"multi_instance": false, "multi_instance": false,
"services": [ "services": [

View file

@ -97,7 +97,6 @@ ynh_install_app_dependencies $pkg_dependencies
# CREATE DIRECTORIES # CREATE DIRECTORIES
#================================================= #=================================================
mkdir -p $datadir/{progress,completed,watched} mkdir -p $datadir/{progress,completed,watched}
chown -R debian-transmission:www-data $datadir chown -R debian-transmission:www-data $datadir