B8 Autostart & boot persistence
- Area
- B — Running it
- Audience
- operator
- Kind
- feature
- Status
- accepted
- Maturity
- building
- Labels
- updates, cli
- Requires
- B5
The feature in the specification · Read at
Requirements
Setup MUST ask whether the stack should start automatically, and MUST state the consequence of declining.
- locked by
- 0.15.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/autostart.rscrates/lemonfiber-core/src/storage.rscrates/lemonfiber/src/prompt/terminal.rscrates/lemonfiber-core/src/app/apply.rscrates/lemonfiber-core/src/stored/kept.rs
- cited by
- lemonfiber@468091e1dclemonfiber@1be824ec72lemonfiber@ecd8ed52b2
lemonfiber MUST detect the platform and configure or instruct the correct autostart mechanism for it.
Where a prerequisite belongs to Docker Desktop, lemonfiber MUST verify its state and MUST NOT assume it.
An unverifiable prerequisite MUST produce enabled-unverified, and MUST NOT be reported as working autostart.
The form started at boot MUST be the last-run form unless a specific form is pinned.
- locked by
- 0.15.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/autostart.rscrates/lemonfiber-core/src/autostart/run.rscrates/lemonfiber-core/src/app/watch.rscrates/lemonfiber-core/src/app/engine.rscrates/lemonfiber-core/src/app/engine/streaming.rs
- cited by
- lemonfiber@9daf9ff7e7lemonfiber@ecd8ed52b2
After a boot, lemonfiber MUST verify the stack came back, including VPN tunnel and forwarded port.
A forwarded port that changed across a reconnect MUST be re-pushed to the download client.
- locked by
- 0.15.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/app/forwarding.rscrates/lemonfiber-core/src/app/engine/settling.rscrates/lemonfiber-core/src/qbittorrent.rscrates/lemonfiber-core/src/doctor/vpn/findings.rscrates/lemonfiber-core/src/app/forwarding/deciding.rs
- cited by
- lemonfiber@514edfa781lemonfiber@9daf9ff7e7lemonfiber@ecd8ed52b2
A failed boot start MUST be reported at the operator's next interaction, with the reason.
Services MUST NOT start when the data root is not present, and MUST report rather than write into an empty mount point.
A deliberately stopped stack MUST NOT be auto-started at the next boot.
- locked by
- 0.15.0 met
- recorded done
- lemonfibercrates/lemonfiber-core/src/autostart.rscrates/lemonfiber-core/src/autostart/run.rscrates/lemonfiber-core/src/app/watch.rscrates/lemonfiber-core/src/app/engine.rscrates/lemonfiber-core/src/app/engine/streaming.rs
- cited by
- lemonfiber@9daf9ff7e7lemonfiber@ecd8ed52b2
Disabling autostart MUST remove everything it configured, leaving no orphaned login items or services.
On battery power, autostart MUST NOT occur unless explicitly opted in.
A recurring boot failure MUST be reported as one ongoing condition, not once per boot.
Boot before network availability MUST retry rather than fail permanently.