Method: Specinfra::Command::Plamo::Base::Service.check_is_enabled
- Defined in:
- lib/specinfra/command/plamo/base/service.rb
.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 |