Class: SystemdService

Inherits:
Service show all
Defined in:
lib/resources/service.rb

Overview

specific resources for specific service managers

Instance Attribute Summary

Attributes inherited from Service

#service_ctl

Instance Method Summary collapse

Methods inherited from Service

#enabled?, #info, #initialize, #installed?, #running?, #to_s

Constructor Details

This class inherits a constructor from Service

Instance Method Details

#select_service_mgmtObject



550
551
552
# File 'lib/resources/service.rb', line 550

def select_service_mgmt
  Systemd.new(inspec, service_ctl)
end