Crate systemd_connector

Source
Expand description

Systemd integration library

This library provides a set of utilities for interacting with systemd from Rust.

It eschews the use of libsystemd bindings in favor of using the systemctl command line utility and environment variables to interact with systemd.

Re-exports§

pub use self::socket::sockets;
pub use self::socket::SystemDSocket;

Modules§

notify
Notify systemd of service status changes
properties
Access properties of systemd units via systemctl
socket
Access sockets passed from systemd

Functions§

is_systemd
Check if the current process is running under systemd as a service with the given unit name