Method: Specinfra::Command::Module::Service::Supervisor#check_is_running_under_supervisor
- Defined in:
- lib/specinfra/command/module/service/supervisor.rb
permalink #check_is_running_under_supervisor(service) ⇒ Object
[View source]
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 |