Sha256: 6cb22e5ec4c5ff40f62d38477fa6790513f69253c5a5d12a1ea59287bc1fff4b
Contents?: true
Size: 343 Bytes
Versions: 20
Compression:
Stored size: 343 Bytes
Contents
class Specinfra::Command::Debian::Base::Service < Specinfra::Command::Linux::Base::Service class << self def check_is_enabled(service, level=3) # Until everything uses Upstart, this needs an OR. "ls /etc/rc#{level}.d/ | grep -- '^S..#{escape(service)}' || grep 'start on' /etc/init/#{escape(service)}.conf" end end end
Version data entries
20 entries across 20 versions & 1 rubygems