Skip to main content

Module service_cli

Module service_cli 

Source

Structs§

BackupTasksHandle
Shutdown handle for the periodic checkpointer + archiver tasks. Drop signals both loops to exit on their next wake.
RuntimeConfig
ServerCommandConfig
SystemdServiceConfig
TransportListenerFailure
TransportListenerState
TransportReadiness

Enums§

ServerTransport

Constants§

DEFAULT_ROUTER_BIND_ADDR

Functions§

bind_listener_for_startup
Bind a TCP listener for a transport at startup and record the outcome in the shared TransportReadiness state.
default_telemetry_for_path
Build a sane default TelemetryConfig from a server path when the caller didn’t set one explicitly. Writes rotating logs into the parent directory of the DB file (or ./logs for in-memory / pathless runs). Level defaults to info, pretty stderr format.
detect_runtime_config
Detect available CPU cores and suggest worker thread count.
install_systemd_service
Install a systemd unit + start the service.
probe_listener
render_systemd_unit
run_server_with_large_stack