2026-08-03 20:04:25 +02:00
|
|
|
[Unit]
|
|
|
|
|
Description=rein-aharness ops_run claim loop (activity-core automation)
|
|
|
|
|
Documentation=file:%h/rein-aharness/docs/ops-run-claim-loop.md
|
|
|
|
|
After=network-online.target
|
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=simple
|
|
|
|
|
WorkingDirectory=%h/rein-aharness
|
|
|
|
|
Environment=PYTHONUNBUFFERED=1
|
2026-08-05 17:26:03 +02:00
|
|
|
Environment=KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
2026-09-04 11:25:07 +02:00
|
|
|
# Temporary profile-absent compatibility; remove after the four tenant migrations.
|
|
|
|
|
Environment=AGENT_HARNESS_LEGACY_APPROACHES_UNTIL=2026-12-31
|
2026-09-04 17:46:10 +02:00
|
|
|
# Ensure kubectl and the host-installed OpenBao client are available.
|
|
|
|
|
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin:%h/bin
|
2026-08-05 17:26:03 +02:00
|
|
|
# Wrapper loads claim-loop.env (JSON-safe) and resolves k8s:// ClusterIPs
|
|
|
|
|
# Do not use EnvironmentFile= for claim-loop.env — REPO_MAP JSON breaks systemd parser
|
2026-09-04 20:08:37 +02:00
|
|
|
ExecStartPre=%h/bin/rein-aharness-claim preflight
|
2026-08-05 17:26:03 +02:00
|
|
|
ExecStart=%h/bin/rein-aharness-claim claim-loop
|
2026-08-03 20:04:25 +02:00
|
|
|
Restart=on-failure
|
|
|
|
|
RestartSec=15
|
|
|
|
|
KillSignal=SIGTERM
|
|
|
|
|
TimeoutStopSec=120
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=default.target
|