Sha256: bc51b9c5737a9515d2a032f3642f19176b7adad3c91dbb5698a1656574ccedaa
Contents?: true
Size: 337 Bytes
Versions: 75
Compression:
Stored size: 337 Bytes
Contents
class Specinfra::Command::Freebsd::Base::Service < Specinfra::Command::Base::Service class << self def check_is_enabled(service, level=3) "service -e | grep -- #{escape(service)}" end def check_is_running_under_init(service) "service #{escape(service)} status | grep -E 'as \\(pid [0-9]+\\)'" end end end
Version data entries
75 entries across 75 versions & 1 rubygems