← All Modules

systemd

D-Bus client for org.freedesktop.systemd1 and org.freedesktop.machine1, plus a one-shot journal reader. Linux-only — the table is empty on other platforms. Plan 18 / v0.15.1.

Backed by zbus 5 (async); a single system-bus connection is opened lazily on first call and cached for the lifetime of the Lua VM. Every public function is async at the Rust level; mlua drives them as Lua coroutines so callers write straight-line code.

Units

Machines (systemd-machined)

Journal

Machine exec (v0.15.5+)

Permissions

Lifecycle methods (start, stop, machine lifecycle) require the calling process to have polkit authorisation for the relevant D-Bus interface. Read-only queries (list_*, unit_status, is_active) work for any caller with system-bus access.