1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00

Fix custom paths

This commit is contained in:
ericgaspar 2020-08-17 09:00:17 +02:00
parent 55dbedd7e1
commit 9d8e08533c
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
LogLevel = "INFO"
Address = "127.0.0.1"
Port = "__PORT__"
BaseURL = "/__APP__"
BaseURL = "/__PATH_URL__"
ScanInterval = "90s"
TranscodingCacheSize = "150MiB"
MusicFolder = "/home/yunohost.__APP__/Music"

View file

@ -118,7 +118,7 @@ cp ../conf/navidrome.toml "$config_path/navidrome.toml"
# Main config File
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$config_path/navidrome.toml"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$config_path/navidrome.toml"
ynh_replace_string --match_string="__PATH_URL__" --replace_string="$path_url" --target_file="$config_path/navidrome.toml"
ynh_store_file_checksum --file="$config_path/navidrome.toml"

View file

@ -115,7 +115,7 @@ cp ../conf/navidrome.toml "$config_path/navidrome.toml"
# Main config File
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$config_path/navidrome.toml"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$config_path/navidrome.toml"
ynh_replace_string --match_string="__PATH_URL__" --replace_string="$path_url" --target_file="$config_path/navidrome.toml"
ynh_store_file_checksum --file="$config_path/navidrome.toml"