flybrain/infra/units
acamilo 1d29ab1ff8 infra: persistent session-to-legacy fallback, signal-safe fly-runtime, MALLOC_ARENA_MAX=2
The fallback used to live only inside one 'fly-runtime session' invocation. The session
drop-in now carries OnFailure=fly-runtime-fallback.service and a 3-starts-in-10-minutes
start limit, so a session binary that will not stay up puts flysim.service back on legacy
after a reboot, a watchdog or loop-recover restart or a deploy. 'fly-runtime fallback'
removes the drop-in, daemon-reloads, restarts on legacy, writes /run/fly/runtime-fellback.json
and a journal line; it is locked, idempotent and keeps the drop-in if legacy cannot start.
fly-runtime traps INT/TERM/HUP and any failure during a switch and rolls back to the
previous state. Session drop-in and flysim-session.service set MALLOC_ARENA_MAX=2.
05-deploy keeps the chosen runtime (operator decision: session stays, trust gates),
refreshes the drop-in in place, and says so; the runbook documents all of it.
lint.sh drives the fallback, the interrupts and the deploy policy against a fake systemctl.
2026-09-30 00:11:25 +00:00
..
fly-loop-recover.service loop recovery: review-ladder fixes, root never runs a fly-writable binary 2026-09-28 21:34:32 +00:00
fly-loop-recover.timer loop recovery: check every minute, not every five 2026-09-28 22:19:53 +00:00
fly-recap.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-recap.timer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-retention.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-retention.timer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-runtime-fallback.service infra: persistent session-to-legacy fallback, signal-safe fly-runtime, MALLOC_ARENA_MAX=2 2026-09-30 00:11:25 +00:00
fly-watchdog.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-watchdog.timer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly.target flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flybridge.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flycast.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flyedge.service infra: flyedge.service, off by default, and the feed bus through build, deploy and watchdog 2026-09-23 11:41:28 +00:00
flypush-restart.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flypush-restart.timer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flypush.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flysim-session.service infra: persistent session-to-legacy fallback, signal-safe fly-runtime, MALLOC_ARENA_MAX=2 2026-09-30 00:11:25 +00:00
flysim.service infra: flyedge.service, off by default, and the feed bus through build, deploy and watchdog 2026-09-23 11:41:28 +00:00
flystage-web.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flystage.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
mediamtx.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
pulse.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
xvfb.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00