Sha256: 4c4f1fcbe31e4b57d5ff8d0b87d94993bf5fc1bbfdf153d54af7421bfc234a35

Contents?: true

Size: 328 Bytes

Versions: 42

Compression:

Stored size: 328 Bytes

Contents

class Specinfra::Command::Freebsd::Base::Service < Specinfra::Command::Base::Service
  class << self
    def check_is_enabled(service, level=3)
      "service #{escape(service)} enabled"
    end
    def check_is_running_under_init(service)
      "service #{escape(service)} status | grep -E 'as (pid [0-9]+)'"
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
specinfra-2.83.0 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.25 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.24 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.23 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.22 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.21 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.20 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.19 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.18 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.17 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.16 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.15 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.14 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.13 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.12 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.11 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.10 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.9 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.8 lib/specinfra/command/freebsd/base/service.rb
specinfra-2.82.7 lib/specinfra/command/freebsd/base/service.rb