Module: ForemanMaintain::Concerns::SystemService

Included in:
Feature
Defined in:
lib/foreman_maintain/concerns/system_service.rb

Instance Method Summary collapse

Instance Method Details

#system_service(name, priority = 50, options = {}) ⇒ Object



4
5
6
# File 'lib/foreman_maintain/concerns/system_service.rb', line 4

def system_service(name, priority = 50, options = {})
  ForemanMaintain::Utils.system_service(name, priority, options)
end

#valid_sys_service?(service) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/foreman_maintain/concerns/system_service.rb', line 8

def valid_sys_service?(service)
  ForemanMaintain::Utils.valid_sys_service?(service)
end