Sha256: e561131c9626b707e9ba476609521788c49dc67ed12ed39475dcd9fd5ab418b5

Contents?: true

Size: 322 Bytes

Versions: 65

Compression:

Stored size: 322 Bytes

Contents

class Specinfra::Command::Alpine::Base::Service < Specinfra::Command::Linux::Base::Service
  class << self
    def check_is_enabled(service, level=3)
      "rc-update show boot default | grep -w #{escape(service)}"
    end

    def check_is_running(service)
      "/etc/init.d/#{escape(service)} status"
    end
  end
end

Version data entries

65 entries across 65 versions & 3 rubygems

Version Path
specinfra-rb19-2.44.7 lib/specinfra/command/alpine/base/service.rb
specinfra-2.57.4 lib/specinfra/command/alpine/base/service.rb
specinfra-2.57.3 lib/specinfra/command/alpine/base/service.rb
specinfra-2.57.2 lib/specinfra/command/alpine/base/service.rb
specinfra-2.57.1 lib/specinfra/command/alpine/base/service.rb
specinfra-cisco-2.41.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.57.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.56.1 lib/specinfra/command/alpine/base/service.rb
specinfra-2.56.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.55.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.54.2 lib/specinfra/command/alpine/base/service.rb
specinfra-2.54.1 lib/specinfra/command/alpine/base/service.rb
specinfra-2.54.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.53.1 lib/specinfra/command/alpine/base/service.rb
specinfra-2.53.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.52.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.51.2 lib/specinfra/command/alpine/base/service.rb
specinfra-2.51.1 lib/specinfra/command/alpine/base/service.rb
specinfra-2.51.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.50.4 lib/specinfra/command/alpine/base/service.rb