diff --git a/providers/os/resources/services/manager.go b/providers/os/resources/services/manager.go index b72f6a8cbe..ba4a8d4e36 100644 --- a/providers/os/resources/services/manager.go +++ b/providers/os/resources/services/manager.go @@ -40,8 +40,7 @@ type OSServiceManager interface { List() ([]*Service, error) } -type noopOsServiceManager struct { -} +type noopOsServiceManager struct{} func (n *noopOsServiceManager) Name() string { return "none" @@ -165,6 +164,8 @@ func ResolveManager(conn shared.Connection) (OSServiceManager, error) { osm = &AixServiceManager{conn: conn} case asset.Platform.Name == "kali": // debian based with versions from 2015 onwards being systemd based osm = ResolveSystemdServiceManager(conn) + case asset.Platform.Name == "cloudlinux": // rhel based + osm = ResolveSystemdServiceManager(conn) } if osm == nil {