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-cisco-2.40.2 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.10 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.9 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.8 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.7 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.6 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.5 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.4 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.3 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.2 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.1 lib/specinfra/command/alpine/base/service.rb
specinfra-2.43.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.42.2 lib/specinfra/command/alpine/base/service.rb
specinfra-2.42.1 lib/specinfra/command/alpine/base/service.rb
specinfra-2.42.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.41.1 lib/specinfra/command/alpine/base/service.rb
specinfra-2.41.0 lib/specinfra/command/alpine/base/service.rb
specinfra-2.40.2 lib/specinfra/command/alpine/base/service.rb
specinfra-2.40.1 lib/specinfra/command/alpine/base/service.rb
specinfra-2.40.0 lib/specinfra/command/alpine/base/service.rb