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:
parent
9c72ea73d0
commit
29db7a63ff
2 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue