Skip to content

feat(devices): add systemd services and deploy script for FlowBase/Li…#60

Closed
nu-jliu wants to merge 1 commit into
mainfrom
feat/devices-systemd-services
Closed

feat(devices): add systemd services and deploy script for FlowBase/Li…#60
nu-jliu wants to merge 1 commit into
mainfrom
feat/devices-systemd-services

Conversation

@nu-jliu

@nu-jliu nu-jliu commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

…nearBot

  • devices/services/flowbase.service: base-only (8-motor) systemd unit running flow_base_controller.py --channel can0 from /srv/i2rt, with can0-wait ExecStartPre, RT priority, and 30s start timeout
  • devices/services/linearbot.service: base + linear-rail (9-motor) systemd unit (--channel can0 --linear-rail) with 90s timeout for homing/calibration; notes --device for x86
  • devices/services/install_service.sh: deploy script ([-b <branch>] <flowbase|linearbot>) that clones git@github.com:i2rt-robotics/i2rt.git into /srv/i2rt at the chosen branch, builds the venv via uv venv --python 3.11 + uv sync, and installs the selected service while uninstalling the other

…nearBot

- devices/services/flowbase.service: base-only (8-motor) systemd unit running flow_base_controller.py --channel can0 from /srv/i2rt, with can0-wait ExecStartPre, RT priority, and 30s start timeout
- devices/services/linearbot.service: base + linear-rail (9-motor) systemd unit (--channel can0 --linear-rail) with 90s timeout for homing/calibration; notes --device for x86
- devices/services/install_service.sh: deploy script (`[-b <branch>] <flowbase|linearbot>`) that clones git@github.com:i2rt-robotics/i2rt.git into /srv/i2rt at the chosen branch, builds the venv via uv venv --python 3.11 + uv sync, and installs the selected service while uninstalling the other

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nu-jliu nu-jliu closed this Jun 25, 2026
@nu-jliu nu-jliu deleted the feat/devices-systemd-services branch June 25, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant