mirror of
https://github.com/YunoHost-Apps/simple-torrent_ynh.git
synced 2024-09-03 20:26:18 +02:00
Fix
This commit is contained in:
parent
a31cdf071e
commit
6506e4b1bd
2 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ DisableTrackers: false
|
|||
DisableIPv6: __DISABLE_IP_V6__
|
||||
# DisableIPv6 Don't connect to IPv6 peers.
|
||||
|
||||
DisableUTP: false
|
||||
DisableUTP: __DISABLE_UTP__
|
||||
# Disable UTP in the torrent protocol.
|
||||
# In recent versions, the UTP process cause quite high CPU usage. Set to true can ease the situation.
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir=$final_path --source_id="$architecture" --keep="$final_path/config.yml"
|
||||
ynh_setup_source --dest_dir=$final_path --source_id="$architecture" #--keep="$final_path/config.yml"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
@ -131,9 +131,9 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
# ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue