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-2.30.1 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.30.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.29.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.28.4 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.28.3 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.28.2 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.28.1 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.28.0 lib/specinfra/command/openbsd/base/service.rb
specinfra-2.27.1 lib/specinfra/command/openbsd/base/service.rb