Sha256: 375a10d97b6d0c437d8926f04331d45b4aaeab401bfbb86453dc7ac32023e649
Contents?: true
Size: 333 Bytes
Versions: 17
Compression:
Stored size: 333 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
17 entries across 17 versions & 1 rubygems