Module: Specinfra::Command::Module::Service::Upstart

Included in:
Base::Service
Defined in:
lib/specinfra/command/module/service/upstart.rb

Instance Method Summary collapse

Instance Method Details

#check_is_running_under_upstart(service) ⇒ Object


6
7
8
# File 'lib/specinfra/command/module/service/upstart.rb', line 6

def check_is_running_under_upstart(service)
  "initctl status #{escape(service)} | grep running"
end