pub fn set_override(&self, override_status: Override) -> Result<OverrideGuard, Error> {
        let status = Some(override_status);
        if self.override_main_status.borrow().is_some() {
            return Err(Error::new(
                eyre!("Already have an override"),
                ErrorKind::InvalidRequest,
            ));
        }
        self.override_main_status
            .send_modify(|x| *x = status.clone());
        Ok(OverrideGuard {
            override_main_status: Some(self.override_main_status.clone()),
        })
    }
Set override is used during something like a restart of a service. We want to show certain statuses be different
from the actual status of the service.
core/startos/src/manager/manager_container.rs