Documentation
¶
Overview ¶
Package main is the AgentPaaS daemon (agentpaasd) entry point.
The daemon binds to a Unix domain socket, serves the Control API gRPC service, and manages agent lifecycle. It enforces single-instance via flock, validates home directory permissions, and supports graceful shutdown on SIGTERM/SIGINT.
Command agentpaasd is the AgentPaaS control daemon. It binds a gRPC server to a Unix domain socket and serves the ControlService API.
Usage:
agentpaasd [--allow-root-for-test] [--version]
The daemon creates its home directory (~/.agentpaas by default) on first run and uses flock(2) to ensure only one instance runs at a time. Signals SIGTERM and SIGINT trigger graceful shutdown.
Click to show internal directories.
Click to hide internal directories.