Skip to main content

Module systemd

Module systemd 

Source
Expand description

systemd integration for podbox: unit control, status queries, and diagnostics. systemctl helpers live in units, status parsing and diagnostics in [status].

Re-exports§

pub use units::daemon_reload;
pub use units::enable_linger;
pub use units::enable_now_socket;
pub use units::is_available;
pub use units::is_unit_enabled;
pub use units::is_unit_failed;
pub use units::reset_failed;
pub use units::restart_unit;
pub use units::start_unit;
pub use units::stop_compositor;
pub use units::stop_socket_and_host;
pub use units::stop_unit;

Modules§

units
systemctl command helpers: unit start/stop/restart, enable/failed queries, linger, daemon-reload, and guest-socket self-healing.

Structs§

UnitStatus
Parsed status of a systemd unit.

Functions§

start_unit_friendly
Start a container with friendly diagnostics on failure.