Sha256: 77c3ec4ab36a5fb5b2d12f992084a8c52282545e0ce66766e2aa255e57d9785d
Contents?: true
Size: 341 Bytes
Versions: 9
Compression:
Stored size: 341 Bytes
Contents
class Specinfra::Command::Gentoo::Base::Service < Specinfra::Command::Linux::Base::Service def check_is_enabled(service, level=3) regexp = "^\\s*#{service}\\s*|\\s*\\(boot\\|default\\)" "rc-update show | grep -- #{escape(regexp)}" end def check_is_running(service) "/etc/init.d/#{escape(service)} status" end end
Version data entries
9 entries across 9 versions & 1 rubygems