mirror of
https://github.com/sol1/rustguac.git
synced 2026-09-10 01:26:06 +00:00
f58695c7eb
The default config.toml shipped in the .deb had db_path, static_path, and other top-level keys placed after the [recording] header, causing TOML to scope them under [recording] where serde silently ignored them. The top-level db_path defaulted to ./rustguac.db which the rustguac user cannot create in the root-owned /opt/rustguac directory. Fixes: move all top-level keys above section headers in the template. Adds a postinst migration that detects and repairs broken configs on upgrade (backs up config first). Closes #25 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>