Each target gets its own config directory (e.g. ~/.satdeploy/som1/config.yaml).
name: som1
zmq_endpoint: tcp://localhost:9600
agent_node: 5425
ground_node: 40
appsys_node: 10
backup_dir: /opt/satdeploy/backups
max_backups: 10
apps:
controller:
local: ./build/controller
remote: /opt/disco/bin/controller
service: controller.service
depends_on: [csp_server]
csp_server:
local: ./build/csp_server
remote: /usr/bin/csp_server
service: csp_server.service
libparam:
local: ./build/libparam.so
remote: /usr/lib/libparam.so
service: null
restart: [csp_server, controller]| Field | Description |
|---|---|
local |
Path to local file |
remote |
Deployment path on target |
service |
systemd service (null for libraries) |
depends_on |
Services this app depends on |
restart |
Services to restart when this library changes |
param |
libparam name for CSP start/stop |
CubeSat Space Protocol over ZMQ, CAN, or KISS serial. Requires satdeploy-agent on the target and satdeploy-apm loaded in CSH on the ground station.
name: satellite
zmq_endpoint: tcp://localhost:9600
agent_node: 5425
ground_node: 40When deploying an app with dependencies:
- Stop services top-down (dependents first)
- Deploy the file
- Start services bottom-up (dependencies first)
For libraries with a restart list, those services are restarted directly instead of computing the dependency graph.