diff --git a/conf/config.default.yml b/conf/config.default.yml index 3ec8faf..059f590 100644 --- a/conf/config.default.yml +++ b/conf/config.default.yml @@ -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. diff --git a/scripts/upgrade b/scripts/upgrade index c575d46..9835ca1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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