systemdServices

fnSystemdService[] systemdServices() @safe

Lists all systemd services on Linux.

This function queries systemd to enumerate all loaded services and their current state.

Returns

Array of SystemdService structs containing service information.

Throws

MonacoException if systemd is not available or query fails.

Example:

version (linux) {
  auto services = systemdServices();
  writeln("Found ", services.length, " services");
}