Class: Specinfra::Command::Plamo::Base::Service
- Inherits:
-
Linux::Base::Service
- Object
- Base
- Base::Service
- Linux::Base::Service
- Specinfra::Command::Plamo::Base::Service
- Defined in:
- lib/specinfra/command/plamo/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 6 7 |
# File 'lib/specinfra/command/plamo/base/service.rb', line 3 def check_is_enabled(service, level=3) # This check is not necessarily detected whether service is enabled or not # TODO: check rc.inet2 $SERV variable "test -x /etc/rc.d/init.d/#{escape(service)}" end |