Sha256: 65bcfd9ef377daeed594b50c569c8baa0de69410210984b3340f9f5accb82a22

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 Bytes

Contents

Process.setproctitle('Legion')
require 'concurrent'
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

  def self.reload
    @service.reload
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
legionio-0.4.3 lib/legion.rb
legionio-0.4.2 lib/legion.rb
legionio-0.4.1 lib/legion.rb
legionio-0.4.0 lib/legion.rb