Sha256: e0d525c778771d236c0a4965de323bf0f25d558705a40ae8960b577cd71b3db5

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

module CapistranoExtensions

  module Service

    SVC_ACTION_CAPTIONS = Hash.new do |h,k|
      h[k] = "#{k.to_s.capitalize} Service"
    end.update :status => 'Check Status', 
                :check => 'Check Config', 
                :summary => 'Status Summary'

    %w(lsb crm windows command).each do |k|
      require File.join(File.dirname(__FILE__), 'service', k+'.rb')
    end

    include LSB, CRM, Windows, Command

  end

end

Capistrano.plugin :service, CapistranoExtensions::Service

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
joekhoobyar-capistrano-extensions-0.0.5 lib/capistrano_extensions/service.rb
joekhoobyar-capistrano-extensions-0.0.7 lib/capistrano_extensions/service.rb
joekhoobyar-capistrano-extensions-0.0.8 lib/capistrano_extensions/service.rb