1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jackett_ynh.git synced 2024-09-03 19:26:28 +02:00

base path

This commit is contained in:
Navan Chauhan 2021-05-21 19:44:28 +05:30
parent 8c18871e1d
commit 2a78c87dad

View file

@ -103,6 +103,13 @@ ynh_script_progression --message="Configuring a systemd service..." --time --wei
ynh_replace_string --match_string=__PORT__ --replace_string="$port" --target_file="../conf/systemd.service"
ynh_add_systemd_config
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring Jackett..." --weight=2
ynh_replace_string --match_string='"BasePathOverride": null,' --replace_string=""BasePathOverride": "$path_url,"" --target_file="$final_path/.config/Jackett/ServerConfig.jso"
#=================================================
# GENERIC FINALIZATION
#=================================================