Method: AutomateIt::ServiceManager::Chkconfig#disable

Defined in:
lib/automateit/service_manager/chkconfig.rb

#disable(service, opts = {}) ⇒ Object

See ServiceManager#disable



34
35
36
37
38
# File 'lib/automateit/service_manager/chkconfig.rb', line 34

def disable(service, opts={})
  _raise_unless_available
  return false unless enabled?(service)
  interpreter.sh("chkconfig --del #{service}")
end