Module: Specinfra::Command::Module::Service::Supervisor

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

Instance Method Summary collapse

Instance Method Details

#check_is_running_under_supervisor(service) ⇒ Object


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

def check_is_running_under_supervisor(service)
  "supervisorctl status #{escape(service)} | grep RUNNING"
end