[fix](trx-server): include legacy home config path and coords in print-config

Fix server config discovery to include ~/.trx-server.toml and update
example/print-config output to explicitly include general latitude and
longitude fields.

Also update config docs and add a test for the legacy search path.

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-12 23:47:36 +01:00
parent 28dab2d00f
commit e243f0e4cc
6 changed files with 200 additions and 10 deletions
+3 -2
View File
@@ -8,8 +8,9 @@ This document lists all currently supported configuration options for `trx-serve
Configuration lookup order:
1. `--config <FILE>`
2. `./trx-server.toml`
3. `~/.config/trx-rs/server.toml`
4. `/etc/trx-rs/server.toml`
3. `~/.trx-server.toml`
4. `~/.config/trx-rs/server.toml`
5. `/etc/trx-rs/server.toml`
### `trx-client`
Configuration lookup order: