#!/usr/bin/env bash # install-seat-healthz-timer.sh — install/refresh the seat-healthz watchdog as # a systemd USER timer on nh3-dev (5-min ticks; alert after 2 consecutive # failing ticks ~= 10 min sustained). Idempotent; re-run after editing the # wrapper. Pattern follows install-backup-freshness-timer.sh. set -euo pipefail UNIT_DIR="$HOME/.config/systemd/user" REPO=/home/lkraven/development/eshpfi-management mkdir -p "$UNIT_DIR" cat > "$UNIT_DIR/seat-healthz.service" < "$UNIT_DIR/seat-healthz.timer" <