Sha256: 4c4b42fc8556f4f679ec29a4d0dc20b7b8dfe0f9262e3c8aaac4c802ab77d4bd
Contents?: true
Size: 313 Bytes
Versions: 9
Compression:
Stored size: 313 Bytes
Contents
class Specinfra::Command::Debian::Base::Service < Specinfra::Command::Linux::Base::Service 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
Version data entries
9 entries across 9 versions & 1 rubygems