flybrain/infra/units/fly-retention.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
408 B
Desktop File

# infra/units/fly-retention.service — triggered by fly-retention.timer
# (also invoked directly by fly-watchdog's disk guard, see bin/fly-watchdog).
[Unit]
Description=Prune old segments, highlights, and orphan checkpoints
[Service]
Type=oneshot
User=fly
Environment=FLY_STATE_DIR=/srv/fly/state
Environment=FLY_MEDIA_DIR=/srv/fly/media
ExecStart=/opt/fly/bin/fly-retention
Nice=15
IOSchedulingClass=idle