Class AutomateIt::ServiceManager::BaseDriver
In: lib/automateit/service_manager.rb
Parent: AutomateIt::Plugin::Driver

ServiceManager::BaseDriver

Base class for all ServiceManager drivers.

Methods

Public Instance methods

See ServiceManager#start_and_enable

[Source]

# File lib/automateit/service_manager.rb, line 83
  def start_and_enable(service, opts={})
    start(service, opts)
    enable(service, opts)
  end

See ServiceManager#start_or_restart

[Source]

# File lib/automateit/service_manager.rb, line 78
  def start_or_restart(service, is_restart, opts={})
    send(is_restart ? :restart : :start, service, opts)
  end

[Validate]