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:
parent
8c18871e1d
commit
2a78c87dad
1 changed files with 7 additions and 0 deletions
|
@ -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_replace_string --match_string=__PORT__ --replace_string="$port" --target_file="../conf/systemd.service"
|
||||||
ynh_add_systemd_config
|
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
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue