1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Add index of completed directory

This commit is contained in:
Kload 2013-10-29 15:05:20 +00:00
parent 9c72ea73d0
commit 29db7a63ff
2 changed files with 5 additions and 0 deletions

View file

@ -4,3 +4,7 @@ location PATHTOCHANGE/transmission {
location PATHTOCHANGE {
proxy_pass http://127.0.0.1:9091/;
}
location PATHTOCHANGE/downloads {
alias /home/yunohost.transmission/completed/;
autoindex on;
}

View file

@ -32,6 +32,7 @@ sudo apt-get install transmission-daemon -y -qq
sudo mkdir -p /home/yunohost.transmission/{progress,completed}
sudo chgrp debian-transmission /home/yunohost.transmission/{progress,completed}
sudo chmod 770 -R /home/yunohost.transmission/{progress,completed}
sudo chown -R www-data /home/yunohost.transmission/completed
# Configure Transmission and reload
sed -i "s@PATHTOCHANGE@$path@g" ../conf/settings.json