binky-control/scripts/railiance-rhythm/install-on-railiance.sh
tegwick 88a4886ea7
Some checks failed
Work Records / validate (push) Has been cancelled
BINKY-WP-0006: retarget Railiance rhythm to llm-connect/OpenRouter
Reject Claude Code (or any coding agent) on railiance01. Mail-scan stays
deterministic; triage/briefs use llm-connect HTTP → structured JSON →
deterministic apply. Document in integrations/railiance-llm-rhythm.md and
rewrite WP-0006 tasks accordingly; timers no longer require_claude.
2026-07-22 00:00:04 +02:00

23 lines
1 KiB
Bash
Executable file

#!/usr/bin/env bash
# Install host-side rhythm timers on railiance01 (user systemd).
# Run ON railiance01 from a fresh binky-control checkout:
# ./scripts/railiance-rhythm/install-on-railiance.sh
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
UNIT_DIR="${HOME}/.config/systemd/user"
mkdir -p "${UNIT_DIR}"
chmod +x "${ROOT}/scripts/railiance-rhythm/"*.sh
for u in binky-rhythm-daily binky-rhythm-mail binky-rhythm-review; do
cp -f "${ROOT}/scripts/railiance-rhythm/systemd/${u}.service" "${UNIT_DIR}/"
cp -f "${ROOT}/scripts/railiance-rhythm/systemd/${u}.timer" "${UNIT_DIR}/"
done
systemctl --user daemon-reload
systemctl --user enable --now binky-rhythm-daily.timer
systemctl --user enable --now binky-rhythm-mail.timer
systemctl --user enable --now binky-rhythm-review.timer
systemctl --user list-timers --all | grep binky-rhythm || true
echo "Installed. Logs: ~/.cache/binky-control/rhythm/"
echo "Execution model: llm-connect/OpenRouter on cluster — NOT Claude CLI on host."
echo "See integrations/railiance-llm-rhythm.md (BINKY-WP-0006)."