1
0
Fork 0
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:
ericgaspar 2021-08-22 15:45:54 +02:00
parent 247c383065
commit a94812d562

View file

@ -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"
#=================================================
# 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
#=================================================