Sha256: d689ce2b5f67fef38069a11d7f54ff089a2f3328d910e4f810637bf28a6439a7

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

Process.setproctitle('Legion')
require 'concurrent-ruby'
require 'securerandom'
# require 'legion/exceptions'
require 'legion/version'
require 'legion/process'
require 'legion/service'
require 'legion/extensions'

module Legion
  attr_reader :service

  def self.start
    @service = Legion::Service.new
    Legion::Logging.info("Started Legion v#{Legion::VERSION}")
  end

  def self.shutdown
    @service.shutdown
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legionio-0.2.0 lib/legion.rb