From a9b7aa76310921fc243fb1b7b37df38020d0fc23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 Nov 2023 21:22:25 +0100 Subject: [PATCH] Update change_url --- scripts/change_url | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 1c33c62..b2f3668 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -30,12 +30,11 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Modifying a config file..." --weight=1 -config_path="/var/lib/$app" path_url="$new_path" -ynh_add_config --template="navidrome.toml" --destination="$config_path/navidrome.toml" +ynh_add_config --template="navidrome.toml" --destination="/var/lib/$app/navidrome.toml" -chmod 600 "$config_path/navidrome.toml" +chmod 600 "/var/lib/$app/navidrome.toml" chown -R $app:$app "$config_path" #=================================================