Running PlatformManager
PlatformManager can run in two modes: one-shot mode for initial platform setup, or daemon mode for continuous operation with a Thrift service.
One-Shot Mode (Default)
platform_manager --run_once=true
- Loads the platform configuration
- Explores the platform and creates device symlinks
- Exits with status 0 on success, 1 on failure
Daemon Mode
platform_manager --run_once=false
Performs the same steps as one-shot mode, but instead of exiting:
- Starts the Thrift service on the configured port
- Continues running to handle API requests
- Sends
sd_notifyready signal for systemd integration
info
For a complete list of available arguments, run platform_manager --help.