Expand description
Lightweight process manager for Unix services.
Modules§
- charting
- ASCII charting. ASCII charting for metrics visualization using our custom rasciigraph.
- cli
- CLI parsing. Command-line interface for Systemg.
- config
- Config loading. Configuration management for Systemg.
- constants
- Constants. Constants and configuration values for the systemg daemon.
- cron
- Cron scheduler. Cron scheduling for services.
- daemon
- Process daemon. Service management daemon.
- diag
- rustc-style diagnostics: structured, colored, actionable failure reports. rustc-style diagnostics for sysg.
- error
- Errors. Error handling for systemg.
- inspect
- The
inspectcommand’s plan layer, rebuilt from first principles. Theinspectcommand’s plan layer, rebuilt from first principles. - ipc
- IPC with supervisor.
- logs
- Log streaming. Module for managing and displaying logs of system services.
- logs_
cmd - The
logscommand’s plan layer, rebuilt from first principles. Thelogscommand’s plan layer, rebuilt from first principles. - loose_
registry - Durable record of the loose manifests a supervisor is managing. Durable record of the loose manifests a supervisor is managing.
- metrics
- Metrics.
- migrate_
state - Offline migration of legacy
__loose__state into per-manifest projects. Offline migration of legacy__loose__state into per-manifest projects. - opslot
- Current-operation tracking for the control plane. Tracks the supervisor’s current in-flight operation so reads can report what a busy mutation is waiting on instead of leaving the caller in the dark.
- privilege
- Privilege dropping. Privilege and resource management helpers for service spawning.
- purge
- The
purgecommand, rebuilt from first principles. Thepurgecommand, rebuilt from first principles. - reconcile
- Reconciles supervisor bookkeeping against procfs and port ownership. Reconciles the supervisor’s bookkeeping against the actual machine.
- restart
- The
restartcommand, rebuilt from first principles. Therestartcommand, rebuilt from first principles. - runtime
- Runtime paths and modes. Runtime paths and privilege modes.
- selector
- The shared command selector (
-s/-p) resolution. The shared command selector: how-s/-p/project/serviceflags resolve to a target set, identically forstart,stop, andrestart. - spawn
- Dynamic spawn management. Dynamic spawn manager for tracking and controlling spawned process trees.
- start
- The
startcommand, rebuilt from first principles. Thestartcommand, rebuilt from first principles. - state_
store - Per-project on-disk state layout. Per-project on-disk state layout.
- status
- Status tracking. Status management for services in the daemon.
- stop
- The
stopcommand, rebuilt from first principles. Thestopcommand, rebuilt from first principles. - supervisor
- Supervisor daemon.
- upgrade
- Workload-preserving supervisor upgrade protocol. Validation and diagnostics for workload-preserving supervisor upgrades.
- validate
- Configuration validation and diagnostics. Configuration validation with human-friendly diagnostics.
- xml
- Indented XML serialization shared by state and command output. Shared XML serialization for persisted state and machine-readable output.