Launching the legacy server

Updated Jul 27, 2026
  • Build the sqlite variant with make sqlite or the postgres variant with make postgres. The legacy-networking feature is enabled by default, so the mxd binary is available.
  • Start the daemon with cargo run --bin mxd -- --bind 0.0.0.0:5500 --database mxd.db.
  • Override MXD_-prefixed environment variables or drop-in .mxd.toml files to persist defaults; the server merges file and env layers before applying CLI overrides via ortho-config.
  • The listener prints mxd listening on … once the Tokio accept loop is running. Use Ctrl-C (and SIGTERM on Unix) for an orderly shutdown.