mod account;
mod endpoint;
mod files;
mod handoff;
mod memory;
mod process;
mod service;
mod user_scope;
pub(crate) use account::{account_lock_path, lock_account_file};
pub(crate) use endpoint::Stream;
pub(in crate::daemon) use endpoint::{
connect, connect_restarting, inspect_endpoint, remove_endpoint, Listener,
};
pub(crate) use files::{
create_private_dir, create_private_file, sync_dir, DaemonPathError, FileIdentity,
REPLACEABLE_WHILE_RUNNING,
};
pub(in crate::daemon) use files::{
open_lock_file, open_log_file, prepare_private_dir, running_identity,
};
pub(crate) use handoff::{adopt, reap_exited_children, set_close_on_exec};
pub(in crate::daemon) use handoff::{relaunch, take_handoff};
pub(crate) use memory::release_freed_memory;
pub(in crate::daemon) use process::{is_variable, request_stop, spawn_detached, MACHINE_VARIABLES};
pub(crate) use process::{stderr_is_journal_stream, StopRequests};
pub(in crate::daemon) use service::stop_service;
#[cfg(test)]
pub(crate) mod test_support;
#[cfg(test)]
#[path = "paths_tests.rs"]
mod paths_tests;