class AutomateIt::ServiceManager::BaseDriver
ServiceManager::BaseDriver¶ ↑
Base class for all ServiceManager drivers.
Public Instance Methods
start_and_enable(service, opts={})
click to toggle source
See ServiceManager#start_and_enable
# File lib/automateit/service_manager.rb, line 83 def start_and_enable(service, opts={}) start(service, opts) enable(service, opts) end
start_or_restart(service, is_restart, opts={})
click to toggle source
See ServiceManager#start_or_restart
# File lib/automateit/service_manager.rb, line 78 def start_or_restart(service, is_restart, opts={}) send(is_restart ? :restart : :start, service, opts) end