Sha256: abe95b410cd54ada2545067de4e7a81dbbc7aaf8ef87c00289b2a449ecfecc9e
Contents?: true
Size: 579 Bytes
Versions: 55
Compression:
Stored size: 579 Bytes
Contents
class Specinfra::Command::Base::Service < Specinfra::Command::Base class << self def check_is_running(service) "service #{escape(service)} status" end def check_is_running_under_supervisor(service) "supervisorctl status #{escape(service)} | grep RUNNING" end def check_is_running_under_upstart(service) "initctl status #{escape(service)} | grep running" end def check_is_monitored_by_monit(service) "monit status" end def check_is_monitored_by_god(service) "god status #{escape(service)}" end end end
Version data entries
55 entries across 55 versions & 1 rubygems