Skip to main content

Module services

Module services 

Source
Expand description

infra services command group: start, stop, restart, status, cleanup, and serve.

Defines the ServicesCommands clap subcommand tree and the individual target enums (StartTarget, StopTarget, RestartTarget); dispatch is delegated to the sibling implementation modules via execute.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Modules§

cleanup
infra services cleanup command clearing stale service state.
restart
Service restart handlers shared by the single-target and batch restart paths.
serve
infra services serve command: port reclamation and early bind.
start
infra services start command resolving targets and running startup.

Enums§

RestartTarget
ServicesCommands
StartTarget
StopTarget

Functions§

execute
load_service_configs