process

Local CLI process control using runtime credentials and explicit paths.

class bedrock_server_manager.web.process.WebProcessPaths(*, config_dir: str, data_dir: str, db_url: str)
model_config = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

async bedrock_server_manager.web.process.verify_web_owner(paths: WebProcessPaths, pid: int, record: ControlRecord | None = None) → Process

Verify the host command, configuration and recorded process generation.

async bedrock_server_manager.web.process.force_stop_verified(paths: WebProcessPaths, pid: int, record: ControlRecord | None = None) → None

Terminate the verified process object, retaining its PID-reuse protection.