mirror of
https://github.com/YunoHost-Apps/simple-torrent_ynh.git
synced 2024-09-03 20:26:18 +02:00
Update upgrade
This commit is contained in:
parent
247c383065
commit
a94812d562
1 changed files with 10 additions and 0 deletions
|
@ -118,6 +118,16 @@ ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.default.yml" --destination="$final_path/config.yml"
|
ynh_add_config --template="../conf/config.default.yml" --destination="$final_path/config.yml"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CREATE DIRECTORIES
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
mkdir -p /home/yunohost.app/$app/{torrents,downloads}
|
||||||
|
|
||||||
|
chown -R $app:www-data /home/yunohost.app/$app
|
||||||
|
chmod 755 /home/yunohost.app/$app/{torrents,downloads}
|
||||||
|
|
||||||
|
#=================================================
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue