You can also use entity selectors to choose an OS Service based on its name:
type(os:service),entityName.startsWith("<name of OS service entity>")
host on which OS service is running:
type(os:service),fromRelationship.runsOn(type(HOST),entityName.startsWith("<name of the host>"))
or name of a process, which is associated with the OS service:
type(os:service),toRelationship.runsOn(type(PROCESS_GROUP_INSTANCE),entityName.startsWith("<name of the process entity>"))