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