mirror of
https://github.com/YunoHost-Apps/transmission_ynh.git
synced 2024-09-04 01:46:12 +02:00
Ajout yunohost.multimedia
This commit is contained in:
parent
41e07831db
commit
668ca95f17
1 changed files with 10 additions and 0 deletions
|
@ -53,3 +53,13 @@ sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/transmission.conf
|
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/transmission.conf
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
echo $?
|
echo $?
|
||||||
|
|
||||||
|
# Add yunohost.multimedia directory
|
||||||
|
wget https://github.com/maniackcrudelis/yunohost.multimedia/archive/master.zip
|
||||||
|
unzip master.zip
|
||||||
|
sudo ./yunohost.multimedia-master/script/ynh_media_build.sh
|
||||||
|
# Set rights on transmission directory (parent need to be readable by other, and progress need to be writable by multimedia. Because files will move)
|
||||||
|
sudo ./yunohost.multimedia-master/script/ynh_media_addfolder.sh "/home/yunohost.transmission" "Torrents"
|
||||||
|
# And share completed directory
|
||||||
|
sudo ./yunohost.multimedia-master/script/ynh_media_addfolder.sh "/home/yunohost.transmission/completed" "Torrents"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue