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" #=================================================