pub async fn build_server(config_path: Option<&Path>) -> Result<BoundServer>Expand description
Runs every step of bhtune-server’s startup through binding its listening socket:
resolve config (an explicit config_path if given, otherwise the platform’s
auto-discovered path through the shared runtime resolver), init logging,
open/migrate/seed the database, spawn the
periodic retention sweeper, and bind the configured address.
Does not start serving – see serve.