Class: Specinfra::Command::Freebsd::Base::Service
- Inherits:
-
Base::Service
- Object
- Base
- Base::Service
- Specinfra::Command::Freebsd::Base::Service
- Defined in:
- lib/specinfra/command/freebsd/base/service.rb
Class Method Summary collapse
Methods inherited from Base::Service
check_is_monitored_by_god, check_is_monitored_by_monit, check_is_running, check_is_running_under_supervisor, check_is_running_under_upstart
Methods inherited from Base
Class Method Details
.check_is_enabled(service, level = 3) ⇒ Object
3 4 5 |
# File 'lib/specinfra/command/freebsd/base/service.rb', line 3 def check_is_enabled(service, level=3) "service -e | grep -- #{escape(service)}" end |