Sha256: 652670f286673b2f585c4f8f5f4a5791ccaf28e20ad42bc03d4a2a780cde3495

Contents?: true

Size: 294 Bytes

Versions: 69

Compression:

Stored size: 294 Bytes

Contents

class Specinfra::Command::Openbsd::Base::Service < Specinfra::Command::Base::Service
  class << self
    def check_is_enabled(service, level=nil)
      "/etc/rc.d/#{escape(service)} status"
    end

    def check_is_running(service)
      "/etc/rc.d/#{escape(service)} check"
    end
  end
end

Version data entries

69 entries across 69 versions & 2 rubygems

Version Path
specinfra-cisco-2.41.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-cisco-2.40.2 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.42.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.41.1 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.41.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.40.2 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.40.1 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.40.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.39.1 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.39.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.38.1 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.38.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.37.9 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.37.8 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.37.6 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.37.5 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.37.4 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.37.3 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.37.2 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.37.1 lib/specinfra/command/openbsd/base/service.rb