flybrain/infra/units/fly-watchdog.service
acamilo 660c3cf00d
Some checks failed
ci / node 22 (test + typecheck) (push) Has been cancelled
ci / rust stable (cargo test --workspace --release) (push) Has been cancelled
ci / infra/tests/lint.sh (push) Has been cancelled
ci / playwright apps/stage (allowed to fail) (push) Has been cancelled
flybrain v0.4.0: public tree (history retained privately)
2026-09-21 15:09:46 +00:00

13 lines
547 B
Desktop File

# infra/units/fly-watchdog.service — triggered by fly-watchdog.timer.
# Checks 8 (encoder backend, docs/design/gpu.md) and 9 (capture freeze,
# infra/docs/capture-freeze.md) are additions to infra.md section 3's seven.
# Runs as User=fly (docs/design/infra.md section 3: "all app units
# User=fly"); its restart/reboot remediation goes through the narrow
# NOPASSWD sudoers surface in config/fly-sudoers.
[Unit]
Description=fly-watchdog: the nine health checks and escalation
[Service]
Type=oneshot
User=fly
ExecStart=/opt/fly/bin/fly-watchdog