pub struct InitConfig {
pub name: String,
pub services: Vec<Service>,
pub mounts: Vec<MountSpec>,
pub reap_zombies: bool,
pub reload_on_sighup: bool,
}Expand description
The single root document. Parses from (definit …) forms.
Fields§
§name: StringHuman label for the init config (logs + attestation).
services: Vec<Service>Services to supervise. Starts in declaration order; stops in reverse.
mounts: Vec<MountSpec>Mounts to set up after CANONICAL_MOUNTS, before services start. Mount failures are logged but don’t abort boot.
reap_zombies: boolReap orphaned children (the canonical PID-1 duty). Default on.
reload_on_sighup: boolOn receipt of SIGHUP, re-read /etc/tatara/init.lisp and diff-apply.
Trait Implementations§
Source§impl Clone for InitConfig
impl Clone for InitConfig
Source§fn clone(&self) -> InitConfig
fn clone(&self) -> InitConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InitConfig
impl Debug for InitConfig
Source§impl Default for InitConfig
impl Default for InitConfig
Source§impl<'de> Deserialize<'de> for InitConfig
impl<'de> Deserialize<'de> for InitConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InitConfig
Source§impl PartialEq for InitConfig
impl PartialEq for InitConfig
Source§impl Serialize for InitConfig
impl Serialize for InitConfig
impl StructuralPartialEq for InitConfig
Source§impl TataraDomain for InitConfig
impl TataraDomain for InitConfig
Source§fn compile_from_args(args: &[Sexp]) -> Result<Self>
fn compile_from_args(args: &[Sexp]) -> Result<Self>
Parse the argument list (everything after the keyword) into Self.
Auto Trait Implementations§
impl Freeze for InitConfig
impl RefUnwindSafe for InitConfig
impl Send for InitConfig
impl Sync for InitConfig
impl Unpin for InitConfig
impl UnsafeUnpin for InitConfig
impl UnwindSafe for InitConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more