systemdService
Gets information about a specific systemd service.
Parameters
name | The service name (with or without .service suffix). |
Returns
SystemdService struct with detailed service information.
Throws
MonacoException if the service doesn't exist or query fails.
Example:
version (linux) {
auto svc = systemdService("nginx");
writeln("Status: ", svc.state);
}