Skip to main content

aion_server/control/
mod.rs

1//! Server control from the operator's desk: the pid file the server writes,
2//! the incarnation checks that make it trustworthy, the shutdown outcome
3//! record that crosses the process boundary, and the stop flow built on all
4//! three. `aion server stop` / `aion server status` render these; the logic
5//! and its types live here so the server crate owns one truth about its own
6//! lifecycle records.
7
8pub mod incarnation;
9pub mod outcome;
10pub mod pid_file;
11pub mod stop;
12
13pub use incarnation::{IncarnationProbe, SelfIdentity};
14pub use outcome::{NoteFate, OutcomeRecord, ParkedWorkerRecord};
15pub use pid_file::{PidFileGuard, PidRecord, StaleReconciliation};
16pub use stop::{StopOutcome, StopRefusal, StopVerdict};