Class: Nonnative::Service
Instance Attribute Summary
Attributes inherited from Runner
#proxy
Instance Method Summary
collapse
Methods inherited from Runner
#initialize, #name
Instance Method Details
#start ⇒ Object
5
6
7
8
9
|
# File 'lib/nonnative/service.rb', line 5
def start
proxy.start
Nonnative.logger.info "started service '#{service.name}'"
end
|
#stop ⇒ Object
11
12
13
14
15
|
# File 'lib/nonnative/service.rb', line 11
def stop
proxy.stop
Nonnative.logger.info "stopped service '#{service.name}'"
end
|