12 13 14 15
# File 'lib/service_runner/runner.rb', line 12 def start(service_name) puts "Starting #{service_name}" command Service.get(service_name).start(@options) end
19 20 21 22
# File 'lib/service_runner/runner.rb', line 19 def stop(service_name) puts "Stopping #{service_name}" command Service.get(service_name).stop(@options) end