Sha256: bb5fefaf459ff62d74354ad646765aa300faf4efefea4c9cf19bde3a1700ff98

Contents?: true

Size: 424 Bytes

Versions: 151

Compression:

Stored size: 424 Bytes

Contents

class Specinfra::Command::Debian::V8::Service < Specinfra::Command::Debian::Base::Service
  class << self
    include Specinfra::Command::Module::Systemd

    def check_is_enabled_under_systemd(service, level=nil)
      [
        super(service),
        "ls /etc/rc[S5].d/S??#{escape(service)} >/dev/null 2>/dev/null"
      ].join('||')
    end

    alias_method :check_is_enabled, :check_is_enabled_under_systemd
  end
end

Version data entries

151 entries across 151 versions & 1 rubygems

Version Path
specinfra-2.91.0 lib/specinfra/command/debian/v8/service.rb
specinfra-2.90.1 lib/specinfra/command/debian/v8/service.rb
specinfra-2.90.0 lib/specinfra/command/debian/v8/service.rb
specinfra-2.89.0 lib/specinfra/command/debian/v8/service.rb
specinfra-2.88.2 lib/specinfra/command/debian/v8/service.rb
specinfra-2.88.1 lib/specinfra/command/debian/v8/service.rb
specinfra-2.88.0 lib/specinfra/command/debian/v8/service.rb
specinfra-2.87.2 lib/specinfra/command/debian/v8/service.rb
specinfra-2.87.1 lib/specinfra/command/debian/v8/service.rb
specinfra-2.87.0 lib/specinfra/command/debian/v8/service.rb
specinfra-2.86.0 lib/specinfra/command/debian/v8/service.rb
specinfra-2.85.1 lib/specinfra/command/debian/v8/service.rb
specinfra-2.85.0 lib/specinfra/command/debian/v8/service.rb
specinfra-2.84.1 lib/specinfra/command/debian/v8/service.rb
specinfra-2.84.0 lib/specinfra/command/debian/v8/service.rb
specinfra-2.83.4 lib/specinfra/command/debian/v8/service.rb
specinfra-2.83.3 lib/specinfra/command/debian/v8/service.rb
specinfra-2.83.2 lib/specinfra/command/debian/v8/service.rb
specinfra-2.83.1 lib/specinfra/command/debian/v8/service.rb
specinfra-2.83.0 lib/specinfra/command/debian/v8/service.rb