Fix setup persistence and load persisted runtime configuration
This commit is contained in:
@@ -11,6 +11,7 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
|
||||
### 1. Fix setup persistence
|
||||
- Where found: `backend/app/config.py`, `backend/app/startup.py`, `backend/app/services/setup_service.py`, `backend/app/routers/setup.py`
|
||||
- Goal: runtime configuration should use the values persisted during setup for `database_path`, `fail2ban_socket`, `timezone`, and `session_duration_minutes` rather than only environment defaults.
|
||||
- Status: completed
|
||||
- Possible traps and issues:
|
||||
- Setup may appear successful but later use a different DB/socket on restart.
|
||||
- A partially persisted setup run must not leave the app in a broken or half-configured state.
|
||||
|
||||
Reference in New Issue
Block a user