pub fn start(
settings_dir: &Path,
port: u16,
bind: &str,
extra_args: &[String],
model_api_key: Option<&str>,
vault_password: Option<&str>,
tls_cert: Option<&Path>,
tls_key: Option<&Path>,
) -> Result<u32>Expand description
Spawn the rustyclaw-gateway binary as a background process.
The gateway binary is expected to be on $PATH or next to the current
executable. We pass --port, --bind, and any config/settings-dir
flags, then redirect stdout/stderr to the log file.