Structs§
- Manager
Proxy - Proxy object for
org.freedesktop.systemd1.Manager. Partially taken from https://github.com/lucab/zbus_systemd/blob/main/src/systemd1/generated.rs - Service
Proxy - Proxy object for
org.freedesktop.systemd1.Service. Taken from https://github.com/lucab/zbus_systemd/blob/main/src/systemd1/generated.rs - UnitId
- Just enough info to fully identify a unit
- Unit
Proxy - Proxy object for
org.freedesktop.systemd1.Unit. Taken from https://github.com/lucab/zbus_systemd/blob/main/src/systemd1/generated.rs - Unit
With Status
Enums§
Functions§
- get_
active_ state - Returns the load state of a systemd unit
- get_
all_ services - get_
main_ pid - Returns the PID of a systemd service
- get_
unit_ file_ location - get_
unit_ file_ state - Returns the unit file state of a systemd unit. If the state is
enabled, the unit loads on every boot - get_
unit_ path - Unit file path for a service
- reload
- restart_
service - sleep_
test - start_
service - stop_
service